diff options
author | Fabian Groffen <grobian@gentoo.org> | 2013-07-29 12:28:53 +0000 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2013-07-29 12:28:53 +0000 |
commit | f3dfad6df2978d564148b048bb0844fcdbf18dec (patch) | |
tree | 8a45ca902d4be6dc65c7ddf12104967fb80717b8 /dev-libs/jemalloc | |
parent | Add x32 support. Now only reports slots with pg_config to avoid false positives. (diff) | |
download | gentoo-2-f3dfad6df2978d564148b048bb0844fcdbf18dec.tar.gz gentoo-2-f3dfad6df2978d564148b048bb0844fcdbf18dec.tar.bz2 gentoo-2-f3dfad6df2978d564148b048bb0844fcdbf18dec.zip |
Fix install on Darwin by Hugh Nowlan, bug #437362
(Portage version: 2.2.01.22124-prefix/cvs/SunOS i386, signed Manifest commit with key 0x5F75F607C5C74E89)
Diffstat (limited to 'dev-libs/jemalloc')
-rw-r--r-- | dev-libs/jemalloc/ChangeLog | 5 | ||||
-rw-r--r-- | dev-libs/jemalloc/jemalloc-3.3.1.ebuild | 13 |
2 files changed, 14 insertions, 4 deletions
diff --git a/dev-libs/jemalloc/ChangeLog b/dev-libs/jemalloc/ChangeLog index ca52f7c8f0c3..fac5188f4ef2 100644 --- a/dev-libs/jemalloc/ChangeLog +++ b/dev-libs/jemalloc/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-libs/jemalloc # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/jemalloc/ChangeLog,v 1.32 2013/04/14 21:24:45 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/jemalloc/ChangeLog,v 1.33 2013/07/29 12:28:53 grobian Exp $ + + 29 Jul 2013; Fabian Groffen <grobian@gentoo.org> jemalloc-3.3.1.ebuild: + Fix install on Darwin by Hugh Nowlan, bug #437362 14 Apr 2013; Agostino Sarubbo <ago@gentoo.org> jemalloc-3.3.1.ebuild: Stable for ppc64, wrt bug #465676 diff --git a/dev-libs/jemalloc/jemalloc-3.3.1.ebuild b/dev-libs/jemalloc/jemalloc-3.3.1.ebuild index 1be68d89b63d..f3e9eeeeb142 100644 --- a/dev-libs/jemalloc/jemalloc-3.3.1.ebuild +++ b/dev-libs/jemalloc/jemalloc-3.3.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/jemalloc/jemalloc-3.3.1.ebuild,v 1.5 2013/04/14 21:24:45 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/jemalloc/jemalloc-3.3.1.ebuild,v 1.6 2013/07/29 12:28:53 grobian Exp $ EAPI=4 @@ -12,7 +12,7 @@ SRC_URI="http://www.canonware.com/download/${PN}/${P}.tar.bz2" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ppc ppc64 ~s390 x86" +KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ppc ppc64 ~s390 x86 ~x64-macos" IUSE="debug static-libs stats" src_prepare() { @@ -34,5 +34,12 @@ src_install() { default dohtml doc/jemalloc.html - use static-libs || find "${ED}" -name '*.a' -delete + if [[ ${CHOST} == *-darwin* ]] ; then + # fixup install_name, #437362 + install_name_tool \ + -id "${EPREFIX}"/usr/$(get_libdir)/libjemalloc.1.dylib \ + "${ED}"/usr/$(get_libdir)/libjemalloc.1.dylib || die + fi + + use static-libs || find "${D}" -name '*.a' -delete } |