summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-devel/llvm/ChangeLog6
-rw-r--r--sys-devel/llvm/Manifest6
-rw-r--r--sys-devel/llvm/llvm-2.6.ebuild7
-rw-r--r--sys-devel/llvm/metadata.xml1
4 files changed, 14 insertions, 6 deletions
diff --git a/sys-devel/llvm/ChangeLog b/sys-devel/llvm/ChangeLog
index 82c42ec4a144..7595661e637c 100644
--- a/sys-devel/llvm/ChangeLog
+++ b/sys-devel/llvm/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-devel/llvm
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.4 2009/10/25 20:20:55 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.5 2009/10/26 09:58:41 voyageur Exp $
+
+ 26 Oct 2009; Bernard Cafarelli <voyageur@gentoo.org> llvm-2.6.ebuild,
+ metadata.xml:
+ Fix libffi automagic dependency, bug #289933
*llvm-2.6 (25 Oct 2009)
diff --git a/sys-devel/llvm/Manifest b/sys-devel/llvm/Manifest
index 666d8c7a5c93..aaaa33ce6a33 100644
--- a/sys-devel/llvm/Manifest
+++ b/sys-devel/llvm/Manifest
@@ -1,5 +1,5 @@
AUX llvm-2.6-nodoctargz.patch 1602 RMD160 b4de7f5e68386bd9dab44a6d7addae0eb9d7f958 SHA1 5a2faf5d9c52f1eb1f1eac3aa69b6d0499c093a4 SHA256 503d31616ca7c76f6da1cd46d6e7c54241effbd11652ab568759350f0c21e473
DIST llvm-2.6.tar.gz 7790380 RMD160 24d58cb052ab5879aae59eaf4885ec41186ee22a SHA1 547471147cbf6d3e49539e01196ffada2c79c250 SHA256 4cd9257350c5ff8b9b139d19497e2396c0604eef0e5d6504f5c1463b09bf2d84
-EBUILD llvm-2.6.ebuild 4664 RMD160 b083ea43ea6e505219d768d6488786ccd9940d66 SHA1 367330a90f798da908c39a74ae199a3c7cdc6c72 SHA256 04511202c78a36c2da12dbc009e1cdd767e2375bb61ddbe07d0366a871a39497
-MISC ChangeLog 944 RMD160 477e999f75b322751878246d3849a6a3bbdb18f8 SHA1 6e8a53bbf15bcb09dc34856e519785ea0d930635 SHA256 9213f9620957965ff191d00795edfd514474de5ad5e38b9cf149a41c8b021685
-MISC metadata.xml 2159 RMD160 30145f0d3b8241dee5e6db79f86f0899cce412b9 SHA1 b2d0fea596fa2beb19ff83ee20b0a04e18f6079b SHA256 329f66555db96bd7100e69f5943e1604e882f896f007301eeac9265bc440a2ac
+EBUILD llvm-2.6.ebuild 4750 RMD160 3e8da7a0a626029ca6d63c357db2c10e6699d413 SHA1 8be3977f719cc6147f24f30dea086b81761a7fa3 SHA256 32d182e181fa8b86e67224cedda79e6dae114f8f382752ff7b85921dc46066eb
+MISC ChangeLog 1080 RMD160 b0329cdd9d6252c7529a1c4a3560af8bc4495b39 SHA1 31bd28e4b45ce3652af8cd364af399a0c37e05df SHA256 308c0a58585231c2267ed1becf58767a6b50020d7331f7c9ebec0a4dc5cd9000
+MISC metadata.xml 2288 RMD160 af9be4ed48671eb880b16f7be6fd0f4cce20e05e SHA1 c5c0bcb6379a43f938fa9746acac91de66021af1 SHA256 7ee8a761be956332d626157b4eda36fd907ecb82609c4dbbbe5ce0a26632ece2
diff --git a/sys-devel/llvm/llvm-2.6.ebuild b/sys-devel/llvm/llvm-2.6.ebuild
index 54bb1492fc07..e5c975ac8371 100644
--- a/sys-devel/llvm/llvm-2.6.ebuild
+++ b/sys-devel/llvm/llvm-2.6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-2.6.ebuild,v 1.1 2009/10/25 20:20:55 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-2.6.ebuild,v 1.2 2009/10/26 09:58:41 voyageur Exp $
EAPI="2"
inherit eutils multilib toolchain-funcs
@@ -12,7 +12,7 @@ SRC_URI="http://llvm.org/releases/${PV}/${P}.tar.gz"
LICENSE="UoI-NCSA"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="alltargets debug llvm-gcc ocaml test"
+IUSE="alltargets debug +libffi llvm-gcc ocaml test"
DEPEND="dev-lang/perl
>=sys-devel/make-3.79
@@ -22,6 +22,7 @@ DEPEND="dev-lang/perl
!~sys-devel/bison-1.875
>=sys-devel/gcc-3.0
>=sys-devel/binutils-2.18
+ libffi? ( virtual/libffi )
llvm-gcc? ( sys-devel/llvm-gcc )
ocaml? ( dev-lang/ocaml )
test? ( dev-util/dejagnu )"
@@ -139,6 +140,8 @@ src_configure() {
else
CONF_FLAGS="${CONF_FLAGS} --enable-bindings=none"
fi
+
+ CONF_FLAGS="${CONF_FLAGS} $(use_enable libffi)"
econf ${CONF_FLAGS} || die "econf failed"
}
diff --git a/sys-devel/llvm/metadata.xml b/sys-devel/llvm/metadata.xml
index 7181bf018e0a..3f5032393a6a 100644
--- a/sys-devel/llvm/metadata.xml
+++ b/sys-devel/llvm/metadata.xml
@@ -13,6 +13,7 @@
4. LLVM does not imply things that you would expect from a high-level virtual machine. It does not require garbage collection or run-time code generation (In fact, LLVM makes a great static compiler!). Note that optional LLVM components can be used to build high-level virtual machines and other systems that need these services.</longdescription>
<use>
<flag name='alltargets'>Build all host targets (default: host only)</flag>
+ <flag name='libffi'>Add support to call arbitrary external (natively compiled) functions via <pkg>dev-libs/libffi</pkg></flag>
<flag name='llvm-gcc'>Build LLVM with <pkg>sys-devel/llvm-gcc</pkg></flag>
</use>
</pkgmetadata>