diff options
author | Paweł Hajdan <phajdan.jr@gentoo.org> | 2010-10-05 15:30:34 +0000 |
---|---|---|
committer | Paweł Hajdan <phajdan.jr@gentoo.org> | 2010-10-05 15:30:34 +0000 |
commit | 545da79be19fae8209d563a512f895c8535a2dad (patch) | |
tree | 7da15ffc853b6143cb66625c3f2e47958be24006 /dev-lang | |
parent | bump ebml and matroska requirements (diff) | |
download | historical-545da79be19fae8209d563a512f895c8535a2dad.tar.gz historical-545da79be19fae8209d563a512f895c8535a2dad.tar.bz2 historical-545da79be19fae8209d563a512f895c8535a2dad.zip |
Add support for building on amd64, thanks to Priit Laes <plaes@plaes.org> in bug #337766.
Package-Manager: portage-2.1.8.3/cvs/Linux i686
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/v8/ChangeLog | 6 | ||||
-rw-r--r-- | dev-lang/v8/Manifest | 4 | ||||
-rw-r--r-- | dev-lang/v8/v8-2.4.3.ebuild | 14 |
3 files changed, 20 insertions, 4 deletions
diff --git a/dev-lang/v8/ChangeLog b/dev-lang/v8/ChangeLog index 560d9f40d371..1c721c37f477 100644 --- a/dev-lang/v8/ChangeLog +++ b/dev-lang/v8/ChangeLog @@ -1,6 +1,10 @@ # 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.3 2010/09/17 00:08:36 phajdan.jr Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/ChangeLog,v 1.4 2010/10/05 15:30:34 phajdan.jr Exp $ + + 05 Oct 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org> v8-2.4.3.ebuild: + Add support for building on amd64, thanks to Priit Laes <plaes@plaes.org> + in bug #337766. *v8-2.4.3 (17 Sep 2010) diff --git a/dev-lang/v8/Manifest b/dev-lang/v8/Manifest index 68a379a32e23..4f58427bbba2 100644 --- a/dev-lang/v8/Manifest +++ b/dev-lang/v8/Manifest @@ -2,6 +2,6 @@ AUX v8-no-O3-r0.patch 422 RMD160 37467564f5ea6ff519cf86b7209a534424abbba3 SHA1 e AUX v8-no-werror-r0.patch 573 RMD160 17791cdee16894b37e937f23146aff52bc3d4775 SHA1 fa814bfc6c64570e0e69a184f1c36c359b63eb2d SHA256 8968e9b4f362d3e059675c6bb9b6be0d104ac478a62c50a8f7304f47d514e782 AUX v8-upstream-bug-773-r0.patch 512 RMD160 407e6f3d557c8fbda2deb12698006a39c86bab60 SHA1 37b9f275b4dcd732a5f66b24a5b3dcab6f644142 SHA256 1be72e0ae271969ad67ce9226c89c9def78f3a9be9000be5a752f871b47178cc EBUILD v8-2.2.24.ebuild 1773 RMD160 02e0aa0a60a918135929f6c80870afffc23274ad SHA1 becf396a1a11d6078f8dfb06998c9fcb7dc06e25 SHA256 daa9a3fbc261fee415c775d1844faee9b4702de311883e8837283613964e6a36 -EBUILD v8-2.4.3.ebuild 1934 RMD160 54ed0208acbadb4daee9e5622726a144cd394ece SHA1 e99245a34646de2f812edd3fcc80496df2e665e6 SHA256 28f499c7a27eb6b9967ae190b21e6656d76e89129f875db5af9554f2aac9f73e -MISC ChangeLog 929 RMD160 23f35ee1dacdeddc2dd20ec67c1d57be3b5926dc SHA1 ce88e68b9a68c554beca6b2a9edd40a50bb4932b SHA256 3eb718d2fe41c380918b518a656d7f95744913aa51ce14fe8076a51e161018c0 +EBUILD v8-2.4.3.ebuild 2225 RMD160 56b4a44451517f741029e556ccadfbc42c2c93da SHA1 0836552ca7a759952bdcc14c4cab7513f5ed5df6 SHA256 d452422cfacaf8456e28a596a5577dc85a8fc7569c2815f34202941e1f9c4289 +MISC ChangeLog 1096 RMD160 5f2a840e3929c0ce948fa51beb81e2dc053ae076 SHA1 f521dbbe40a6eb140cd24ffcc87766cdbcf9039c SHA256 5ae9bf6bed8b4f584d1d6ba3c1e52d9e449d45fc9a73c8409ba8ec6cf5d8d043 MISC metadata.xml 162 RMD160 3485b95578a49782c3188a0f963f90c688287fe1 SHA1 46226eeaf4948209a093253f92010abea501daef SHA256 8a3ecdcf518f45ec4843398f9896c9b4d1c867ff2cf2851cf40b06f756f111e8 diff --git a/dev-lang/v8/v8-2.4.3.ebuild b/dev-lang/v8/v8-2.4.3.ebuild index 58de6def011e..86773c3c31ad 100644 --- a/dev-lang/v8/v8-2.4.3.ebuild +++ b/dev-lang/v8/v8-2.4.3.ebuild @@ -1,6 +1,6 @@ # 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.3.ebuild,v 1.1 2010/09/17 00:08:36 phajdan.jr Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/v8-2.4.3.ebuild,v 1.2 2010/10/05 15:30:34 phajdan.jr Exp $ EAPI="2" @@ -52,6 +52,18 @@ src_compile() { local myconf="" + # Use target arch detection logic from bug #296917. + local myarch="$ABI" + [[ $myarch = "" ]] && myarch="$ARCH" + + if [[ $myarch = amd64 ]] ; then + myconf+=" arch=x64" + elif [[ $myarch = x86 ]] ; then + myconf+=" arch=ia32" + else + die "Failed to determine target arch, got '$myarch'." + fi + if use readline; then myconf="${myconf} console=readline" else |