diff options
author | Hans de Graaff <graaff@gentoo.org> | 2012-10-20 09:21:38 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2012-10-20 09:21:38 +0000 |
commit | c8a9c743d888718b85098a6d5f4839f7ec6996d2 (patch) | |
tree | 5ca665d1a9770cf3d5c03bb39e8c04683311815d /dev-lang/rubinius | |
parent | Add ~amd64, wrt bug #439002 (diff) | |
download | gentoo-2-c8a9c743d888718b85098a6d5f4839f7ec6996d2.tar.gz gentoo-2-c8a9c743d888718b85098a6d5f4839f7ec6996d2.tar.bz2 gentoo-2-c8a9c743d888718b85098a6d5f4839f7ec6996d2.zip |
Add a llvm USE flag to make llvm optional since it needs an old version of llvm.
(Portage version: 2.1.11.9/cvs/Linux x86_64)
Diffstat (limited to 'dev-lang/rubinius')
-rw-r--r-- | dev-lang/rubinius/ChangeLog | 9 | ||||
-rw-r--r-- | dev-lang/rubinius/metadata.xml | 5 | ||||
-rw-r--r-- | dev-lang/rubinius/rubinius-1.2.4.20110705.ebuild | 9 |
3 files changed, 17 insertions, 6 deletions
diff --git a/dev-lang/rubinius/ChangeLog b/dev-lang/rubinius/ChangeLog index a9baf56bd3e5..6230c35e46db 100644 --- a/dev-lang/rubinius/ChangeLog +++ b/dev-lang/rubinius/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-lang/rubinius -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/rubinius/ChangeLog,v 1.8 2011/10/23 13:38:11 graaff Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/rubinius/ChangeLog,v 1.9 2012/10/20 09:21:38 graaff Exp $ + + 20 Oct 2012; Hans de Graaff <graaff@gentoo.org> + rubinius-1.2.4.20110705.ebuild, metadata.xml: + Add a llvm USE flag to make llvm optional since it needs an old version of + llvm. 23 Oct 2011; Hans de Graaff <graaff@gentoo.org> rubinius-1.2.4.20110705.ebuild: diff --git a/dev-lang/rubinius/metadata.xml b/dev-lang/rubinius/metadata.xml index ed77b4f90bcb..dc6c83f06b82 100644 --- a/dev-lang/rubinius/metadata.xml +++ b/dev-lang/rubinius/metadata.xml @@ -2,4 +2,9 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>ruby</herd> + <use> + <flag name="llvm"> + Build with llvm. Currently the package only builds against old versions of llvm. + </flag> + </use> </pkgmetadata> diff --git a/dev-lang/rubinius/rubinius-1.2.4.20110705.ebuild b/dev-lang/rubinius/rubinius-1.2.4.20110705.ebuild index 19ed0f5d0d5b..5b603d145eba 100644 --- a/dev-lang/rubinius/rubinius-1.2.4.20110705.ebuild +++ b/dev-lang/rubinius/rubinius-1.2.4.20110705.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/rubinius/rubinius-1.2.4.20110705.ebuild,v 1.3 2011/10/23 13:38:11 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/rubinius/rubinius-1.2.4.20110705.ebuild,v 1.4 2012/10/20 09:21:38 graaff Exp $ EAPI=4 inherit eutils flag-o-matic multilib versionator @@ -13,12 +13,12 @@ SRC_URI="http://asset.rubini.us/${PN}-${MY_PV}.tar.gz" LICENSE="BSD" KEYWORDS="~amd64" SLOT="0" -IUSE="" +IUSE="+llvm" S=${WORKDIR}/${PN}-$(get_version_component_range 1-3) RDEPEND="sys-libs/readline - >=sys-devel/llvm-2.8 + llvm? ( >=sys-devel/llvm-2.8 <=sys-devel/llvm-2.9 ) dev-libs/openssl sys-libs/zlib" DEPEND="${RDEPEND} @@ -35,6 +35,7 @@ src_configure() { ./configure --skip-prebuilt \ --prefix /usr/$(get_libdir) \ --mandir /usr/share/man \ + $(use_enable llvm) \ || die "Configure failed" } |