commit:     5bfc9431c3459c5470794b72332b7ea6e5061f34
Author:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 29 12:58:39 2018 +0000
Commit:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Wed Aug 29 12:59:33 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bfc9431

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

 dev-libs/xxhash/xxhash-0.6.5.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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)"
 }
 

Reply via email to