1 |
commit: 5bfc9431c3459c5470794b72332b7ea6e5061f34 |
2 |
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 29 12:58:39 2018 +0000 |
4 |
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 29 12:59:33 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bfc9431 |
7 |
|
8 |
dev-libs/xxhash: add ~x64-macos keyword |
9 |
|
10 |
The extra PREFIX and LIBDIR passed to emake are necessary |
11 |
to get correct install_names for the libraries. |
12 |
|
13 |
Package-Manager: Portage-2.3.48, Repoman-2.3.10 |
14 |
|
15 |
dev-libs/xxhash/xxhash-0.6.5.ebuild | 4 +++- |
16 |
1 file changed, 3 insertions(+), 1 deletion(-) |
17 |
|
18 |
diff --git a/dev-libs/xxhash/xxhash-0.6.5.ebuild b/dev-libs/xxhash/xxhash-0.6.5.ebuild |
19 |
index b7bfec9671d..2b31be40a06 100644 |
20 |
--- a/dev-libs/xxhash/xxhash-0.6.5.ebuild |
21 |
+++ b/dev-libs/xxhash/xxhash-0.6.5.ebuild |
22 |
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/Cyan4973/xxHash/archive/v${PV}.tar.gz -> ${P}.tar.gz |
23 |
|
24 |
LICENSE="BSD-2 GPL-2+" |
25 |
SLOT="0" |
26 |
-KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~amd64-fbsd" |
27 |
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x64-macos" |
28 |
IUSE="static-libs" |
29 |
|
30 |
DEPEND="" |
31 |
@@ -19,6 +19,8 @@ DEPEND="" |
32 |
S="${WORKDIR}/xxHash-${PV}" |
33 |
|
34 |
src_compile() { |
35 |
+ PREFIX="${EPREFIX}/usr" \ |
36 |
+ LIBDIR="${EPREFIX}/usr/$(get_libdir)" \ |
37 |
emake AR="$(tc-getAR)" CC="$(tc-getCC)" |
38 |
} |