diff options
author | Fabian Groffen <grobian@gentoo.org> | 2011-09-24 17:19:06 +0000 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2011-09-24 17:19:06 +0000 |
commit | cafbf369eaa91bc9e4b0e5e25971d279131078fb (patch) | |
tree | 035c179cd88649b741504def5be2137d187441e2 /dev-lang | |
parent | alpha/sparc stable wrt #382597 (diff) | |
download | gentoo-2-cafbf369eaa91bc9e4b0e5e25971d279131078fb.tar.gz gentoo-2-cafbf369eaa91bc9e4b0e5e25971d279131078fb.tar.bz2 gentoo-2-cafbf369eaa91bc9e4b0e5e25971d279131078fb.zip |
Fix libaries on Darwin, keyworded ~x64-macos and ~x86-macos, bug #354601
(Portage version: 2.2.01.19295-prefix/cvs/Darwin i386)
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/v8/ChangeLog | 5 | ||||
-rw-r--r-- | dev-lang/v8/v8-3.4.12.1.ebuild | 16 |
2 files changed, 15 insertions, 6 deletions
diff --git a/dev-lang/v8/ChangeLog b/dev-lang/v8/ChangeLog index e92fdc7c5b97..d6d9e53f44b6 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.76 2011/09/04 10:23:46 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/ChangeLog,v 1.77 2011/09/24 17:19:06 grobian Exp $ + + 24 Sep 2011; Fabian Groffen <grobian@gentoo.org> v8-3.4.12.1.ebuild: + Fix libaries on Darwin, keyworded ~x64-macos and ~x86-macos, bug #354601 04 Sep 2011; Markus Meier <maekke@gentoo.org> v8-3.3.10.30.ebuild: x86 stable, bug #380897 diff --git a/dev-lang/v8/v8-3.4.12.1.ebuild b/dev-lang/v8/v8-3.4.12.1.ebuild index 20a9fcd733a7..b077a8fc4640 100644 --- a/dev-lang/v8/v8-3.4.12.1.ebuild +++ b/dev-lang/v8/v8-3.4.12.1.ebuild @@ -1,8 +1,8 @@ # 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.4.12.1.ebuild,v 1.1 2011/07/19 18:40:25 phajdan.jr Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/v8-3.4.12.1.ebuild,v 1.2 2011/09/24 17:19:06 grobian Exp $ -EAPI="2" +EAPI="3" inherit eutils flag-o-matic multilib pax-utils scons-utils toolchain-funcs @@ -12,7 +12,7 @@ SRC_URI="mirror://gentoo/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" +KEYWORDS="~amd64 ~arm ~x86 ~x64-macos ~x86-macos" IUSE="readline" RDEPEND="readline? ( >=sys-libs/readline-6.1 )" @@ -85,8 +85,14 @@ src_install() { dobin d8 || die - dolib libv8-${PV}.so || die - dosym libv8-${PV}.so /usr/$(get_libdir)/libv8.so || die + if [[ ${CHOST} == *-darwin* ]] ; then + install_name_tool \ + -id "${EPREFIX}"/usr/$(get_libdir)/libv8-${PV}$(get_libname) \ + libv8-${PV}$(get_libname) || die + fi + + dolib libv8-${PV}$(get_libname) || die + dosym libv8-${PV}$(get_libname) /usr/$(get_libdir)/libv8$(get_libname) || die dodoc AUTHORS ChangeLog || die } |