diff options
author | 2010-11-01 11:47:22 +0000 | |
---|---|---|
committer | 2010-11-01 11:47:22 +0000 | |
commit | cc891e6b3454db9bf6b60eb6f4d506b6e76b2a0a (patch) | |
tree | 72f44168841d23b418cdae0327d5f3fa66192168 /dev-lang | |
parent | Version bump (diff) | |
download | gentoo-2-cc891e6b3454db9bf6b60eb6f4d506b6e76b2a0a.tar.gz gentoo-2-cc891e6b3454db9bf6b60eb6f4d506b6e76b2a0a.tar.bz2 gentoo-2-cc891e6b3454db9bf6b60eb6f4d506b6e76b2a0a.zip |
Convert to scons-utils eclass.
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/v8/ChangeLog | 5 | ||||
-rw-r--r-- | dev-lang/v8/v8-2.4.9.10.ebuild | 19 |
2 files changed, 9 insertions, 15 deletions
diff --git a/dev-lang/v8/ChangeLog b/dev-lang/v8/ChangeLog index 2c8a74092ae5..ad920b3b48da 100644 --- a/dev-lang/v8/ChangeLog +++ b/dev-lang/v8/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-lang/v8 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/ChangeLog,v 1.7 2010/10/31 20:45:51 phajdan.jr Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/ChangeLog,v 1.8 2010/11/01 11:47:22 phajdan.jr Exp $ + + 01 Nov 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org> v8-2.4.9.10.ebuild: + Convert to scons-utils eclass. *v8-2.4.9.10 (31 Oct 2010) diff --git a/dev-lang/v8/v8-2.4.9.10.ebuild b/dev-lang/v8/v8-2.4.9.10.ebuild index 39de744e3817..c62095b9cca7 100644 --- a/dev-lang/v8/v8-2.4.9.10.ebuild +++ b/dev-lang/v8/v8-2.4.9.10.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/v8-2.4.9.10.ebuild,v 1.1 2010/10/31 20:45:51 phajdan.jr Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/v8-2.4.9.10.ebuild,v 1.2 2010/11/01 11:47:22 phajdan.jr Exp $ EAPI="2" -inherit eutils flag-o-matic multilib subversion toolchain-funcs +inherit eutils flag-o-matic multilib scons-utils subversion toolchain-funcs ESVN_REPO_URI="http://v8.googlecode.com/svn/tags/${PV}" @@ -17,12 +17,9 @@ KEYWORDS="~amd64 ~x86" IUSE="readline" RDEPEND="readline? ( >=sys-libs/readline-6.1 )" -DEPEND="${RDEPEND} - >=dev-util/scons-1.3.0" +DEPEND="${RDEPEND}" -v8_scons_opts() { - echo "$(echo ${MAKEOPTS} | sed -r 's/.*(-j\s*|--jobs=)([0-9]+).*/-j\2/')" -} +EXTRA_ESCONS="library=shared soname=on" pkg_setup() { tc-export AR CC CXX RANLIB @@ -63,13 +60,7 @@ src_compile() { die "Failed to determine target arch, got '$myarch'." fi - if use readline; then - myconf="${myconf} console=readline" - else - myconf="${myconf} console=dumb" - fi - - scons library=shared soname=on $(v8_scons_opts) ${myconf} . || die + escons $(use_scons readline console readline dumb) ${myconf} . || die } src_install() { |