summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuilherme Amadio <amadio@gentoo.org>2018-08-29 14:58:39 +0200
committerGuilherme Amadio <amadio@gentoo.org>2018-08-29 14:59:33 +0200
commit5bfc9431c3459c5470794b72332b7ea6e5061f34 (patch)
tree09c009d6b340505e6e21dbcaac9cb812b1a481ac /dev-libs/xxhash/xxhash-0.6.5.ebuild
parentdev-libs/m17n-lib: fix build with USE=-X (diff)
downloadgentoo-5bfc9431c3459c5470794b72332b7ea6e5061f34.tar.gz
gentoo-5bfc9431c3459c5470794b72332b7ea6e5061f34.tar.bz2
gentoo-5bfc9431c3459c5470794b72332b7ea6e5061f34.zip
dev-libs/xxhash: add ~x64-macos keyword
The extra PREFIX and LIBDIR passed to emake are necessary to get correct install_names for the libraries. Package-Manager: Portage-2.3.48, Repoman-2.3.10
Diffstat (limited to 'dev-libs/xxhash/xxhash-0.6.5.ebuild')
-rw-r--r--dev-libs/xxhash/xxhash-0.6.5.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-libs/xxhash/xxhash-0.6.5.ebuild b/dev-libs/xxhash/xxhash-0.6.5.ebuild
index b7bfec9671d..2b31be40a06 100644
--- a/dev-libs/xxhash/xxhash-0.6.5.ebuild
+++ b/dev-libs/xxhash/xxhash-0.6.5.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/Cyan4973/xxHash/archive/v${PV}.tar.gz -> ${P}.tar.gz
LICENSE="BSD-2 GPL-2+"
SLOT="0"
-KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~amd64-fbsd"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x64-macos"
IUSE="static-libs"
DEPEND=""
@@ -19,6 +19,8 @@ DEPEND=""
S="${WORKDIR}/xxHash-${PV}"
src_compile() {
+ PREFIX="${EPREFIX}/usr" \
+ LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
emake AR="$(tc-getAR)" CC="$(tc-getCC)"
}