diff options
author | Mike Gilbert <floppym@gentoo.org> | 2011-10-12 02:58:55 +0000 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2011-10-12 02:58:55 +0000 |
commit | 80604602811e3692b270c9914c21505fae91a579 (patch) | |
tree | 24fd6e427e015e7051cc0de015ef29b4ff1b4ecb /dev-lang | |
parent | Re-enable NaCl. (diff) | |
download | gentoo-2-80604602811e3692b270c9914c21505fae91a579.tar.gz gentoo-2-80604602811e3692b270c9914c21505fae91a579.tar.bz2 gentoo-2-80604602811e3692b270c9914c21505fae91a579.zip |
Migrate to EAPI 4. Add python deps. Re-add pax-mark.
(Portage version: 2.2.0_alpha66/cvs/Linux x86_64)
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/v8/ChangeLog | 5 | ||||
-rw-r--r-- | dev-lang/v8/v8-3.6.5.1.ebuild | 28 |
2 files changed, 21 insertions, 12 deletions
diff --git a/dev-lang/v8/ChangeLog b/dev-lang/v8/ChangeLog index ff1094aa0777..9c9e6a4d6a7e 100644 --- a/dev-lang/v8/ChangeLog +++ b/dev-lang/v8/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-lang/v8 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/ChangeLog,v 1.80 2011/10/09 19:45:12 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/ChangeLog,v 1.81 2011/10/12 02:58:55 floppym Exp $ + + 12 Oct 2011; Mike Gilbert <floppym@gentoo.org> v8-3.6.5.1.ebuild: + Migrate to EAPI 4. Add python deps. Re-add pax-mark. *v8-3.6.5.1 (09 Oct 2011) diff --git a/dev-lang/v8/v8-3.6.5.1.ebuild b/dev-lang/v8/v8-3.6.5.1.ebuild index 19c91b759b3c..22e8161d49fb 100644 --- a/dev-lang/v8/v8-3.6.5.1.ebuild +++ b/dev-lang/v8/v8-3.6.5.1.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/v8-3.6.5.1.ebuild,v 1.1 2011/10/09 19:45:12 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/v8-3.6.5.1.ebuild,v 1.2 2011/10/12 02:58:55 floppym Exp $ -EAPI="3" +EAPI="4" -inherit eutils flag-o-matic multilib pax-utils toolchain-funcs +inherit eutils multilib pax-utils toolchain-funcs GYP_REV="1066" @@ -18,6 +18,9 @@ SLOT="0" KEYWORDS="~amd64 ~arm ~x86 ~x64-macos ~x86-macos" IUSE="" +# Avoid using python eclass since we do not need python RDEPEND +DEPEND="|| ( dev-lang/python:2.6 dev-lang/python:2.7 )" + src_unpack() { unpack ${A} mv gyp-${GYP_REV} ${P}/build/gyp || die @@ -32,10 +35,11 @@ src_prepare() { } src_compile() { + # Make /usr/bin/python (wrapper) call python2 + export EPYTHON=python2 + tc-export AR CC CXX RANLIB export LINK="${CXX}" - # Make the build respect LDFLAGS. - export LINKFLAGS="${LDFLAGS}" # Use target arch detection logic from bug #354601. case ${CHOST} in @@ -51,7 +55,9 @@ src_compile() { esac mytarget=${myarch}.release - emake V=1 library=shared soname_version=${PV} ${mytarget} || die + emake V=1 library=shared soname_version=${PV} ${mytarget} + + pax-mark m out/${mytarget}/{cctest,d8,shell} || die } src_test() { @@ -63,9 +69,9 @@ src_test() { src_install() { insinto /usr - doins -r include || die + doins -r include - dobin out/${mytarget}/d8 out/${mytarget}/shell || die + dobin out/${mytarget}/d8 out/${mytarget}/shell if [[ ${CHOST} == *-darwin* ]] ; then install_name_tool \ @@ -73,8 +79,8 @@ src_install() { out/${mytarget}/lib.target/libv8-${PV}$(get_libname) || die fi - dolib out/${mytarget}/lib.target/libv8-${PV}$(get_libname) || die - dosym libv8-${PV}$(get_libname) /usr/$(get_libdir)/libv8$(get_libname) || die + dolib out/${mytarget}/lib.target/libv8-${PV}$(get_libname) + dosym libv8-${PV}$(get_libname) /usr/$(get_libdir)/libv8$(get_libname) - dodoc AUTHORS ChangeLog || die + dodoc AUTHORS ChangeLog } |