public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Bernard Cafarelli (voyageur)" <voyageur@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in sys-devel/llvm: ChangeLog llvm-9999.ebuild
Date: Tue,  6 Mar 2012 09:11:26 +0000 (UTC)	[thread overview]
Message-ID: <20120306091126.6AD5A2004B@flycatcher.gentoo.org> (raw)

voyageur    12/03/06 09:11:26

  Modified:             ChangeLog llvm-9999.ebuild
  Log:
  Set python-2 to build, thanks Matthias Dahl in bug #406155 for report and patch. Also add PPC support patch and switch to EAPI4
  
  (Portage version: 2.2.0_alpha90/cvs/Linux x86_64)

Revision  Changes    Path
1.63                 sys-devel/llvm/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.63&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.63&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?r1=1.62&r2=1.63

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -r1.62 -r1.63
--- ChangeLog	3 Feb 2012 13:11:42 -0000	1.62
+++ ChangeLog	6 Mar 2012 09:11:26 -0000	1.63
@@ -1,6 +1,10 @@
 # ChangeLog for sys-devel/llvm
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.62 2012/02/03 13:11:42 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.63 2012/03/06 09:11:26 voyageur Exp $
+
+  06 Mar 2012; Bernard Cafarelli <voyageur@gentoo.org> llvm-9999.ebuild:
+  Set python-2 to build, thanks Matthias Dahl in bug #406155 for report and
+  patch. Also add PPC support patch and switch to EAPI4
 
 *llvm-3.0-r1 (03 Feb 2012)
 



1.21                 sys-devel/llvm/llvm-9999.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.21&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.21&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?r1=1.20&r2=1.21

Index: llvm-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- llvm-9999.ebuild	27 Jan 2012 13:42:08 -0000	1.20
+++ llvm-9999.ebuild	6 Mar 2012 09:11:26 -0000	1.21
@@ -1,9 +1,10 @@
 # Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.20 2012/01/27 13:42:08 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.21 2012/03/06 09:11:26 voyageur Exp $
 
-EAPI="3"
-inherit subversion eutils flag-o-matic multilib toolchain-funcs
+EAPI="4"
+PYTHON_DEPEND="2"
+inherit subversion eutils flag-o-matic multilib toolchain-funcs python
 
 DESCRIPTION="Low Level Virtual Machine"
 HOMEPAGE="http://llvm.org/"
@@ -32,6 +33,10 @@
 	vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )"
 
 pkg_setup() {
+	# llvm strictly requires python-2 for building
+	python_set_active_version 2
+	python_pkg_setup
+
 	# need to check if the active compiler is ok
 
 	broken_gcc=" 3.2.2 3.2.3 3.3.2 4.1.1 "
@@ -87,6 +92,7 @@
 
 	epatch "${FILESDIR}"/${PN}-2.6-commandguide-nops.patch
 	epatch "${FILESDIR}"/${PN}-2.9-nodoctargz.patch
+	epatch "${FILESDIR}"/${PN}-3.0-PPC_macro.patch
 }
 
 src_configure() {
@@ -123,15 +129,15 @@
 		append-cppflags "$(pkg-config --cflags libffi)"
 	fi
 	CONF_FLAGS="${CONF_FLAGS} $(use_enable libffi)"
-	econf ${CONF_FLAGS} || die "econf failed"
+	econf ${CONF_FLAGS}
 }
 
 src_compile() {
-	emake VERBOSE=1 KEEP_SYMBOLS=1 REQUIRES_RTTI=1 || die "emake failed"
+	emake VERBOSE=1 KEEP_SYMBOLS=1 REQUIRES_RTTI=1
 }
 
 src_install() {
-	emake KEEP_SYMBOLS=1 DESTDIR="${D}" install || die "install failed"
+	emake KEEP_SYMBOLS=1 DESTDIR="${D}" install
 
 	if use vim-syntax; then
 		insinto /usr/share/vim/vimfiles/syntax






             reply	other threads:[~2012-03-06  9:11 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-06  9:11 Bernard Cafarelli (voyageur) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-06-15 22:26 [gentoo-commits] gentoo-x86 commit in sys-devel/llvm: ChangeLog llvm-9999.ebuild Bernard Cafarelli (voyageur)
2015-06-11 17:05 Bernard Cafarelli (voyageur)
2015-05-29  9:24 Bernard Cafarelli (voyageur)
2015-05-04 16:01 Bernard Cafarelli (voyageur)
2015-04-02 15:05 Bernard Cafarelli (voyageur)
2015-01-25 23:45 Bernard Cafarelli (voyageur)
2012-06-08 13:18 Michal Gorny (mgorny)
2012-06-04 20:26 Michal Gorny (mgorny)
2012-05-20  8:41 Michal Gorny (mgorny)
2012-05-20  8:08 Michal Gorny (mgorny)
2012-05-14 17:09 Michal Gorny (mgorny)
2012-05-13 21:25 Michal Gorny (mgorny)
2012-01-27 13:42 Bernard Cafarelli (voyageur)
2011-12-05 11:05 Bernard Cafarelli (voyageur)
2011-06-06 19:34 Bernard Cafarelli (voyageur)
2011-02-28 23:05 Bernard Cafarelli (voyageur)
2010-09-21 16:17 Bernard Cafarelli (voyageur)
2010-06-01 21:25 Bernard Cafarelli (voyageur)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120306091126.6AD5A2004B@flycatcher.gentoo.org \
    --to=voyageur@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox