1 |
commit: 7a4fe59582f1df69755bf1b5f297a4897507420c |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jul 29 14:45:54 2016 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 29 14:46:44 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a4fe595 |
7 |
|
8 |
app-arch/lz4: Copy the libdir/prefix fix to -9999 |
9 |
|
10 |
app-arch/lz4/lz4-9999.ebuild | 6 ++++-- |
11 |
1 file changed, 4 insertions(+), 2 deletions(-) |
12 |
|
13 |
diff --git a/app-arch/lz4/lz4-9999.ebuild b/app-arch/lz4/lz4-9999.ebuild |
14 |
index f4a6390..8e7767e 100644 |
15 |
--- a/app-arch/lz4/lz4-9999.ebuild |
16 |
+++ b/app-arch/lz4/lz4-9999.ebuild |
17 |
@@ -1,4 +1,4 @@ |
18 |
-# Copyright 1999-2014 Gentoo Foundation |
19 |
+# Copyright 1999-2016 Gentoo Foundation |
20 |
# Distributed under the terms of the GNU General Public License v2 |
21 |
# $Id$ |
22 |
|
23 |
@@ -41,7 +41,9 @@ multilib_src_compile() { |
24 |
tc-export CC AR |
25 |
# we must not use the 'all' target since it builds test programs |
26 |
# & extra -m32 executables |
27 |
- emake -C lib liblz4 liblz4.pc |
28 |
+ emake -C lib liblz4 liblz4.pc \ |
29 |
+ PREFIX="${EPREFIX}/usr" \ |
30 |
+ LIBDIR="${EPREFIX}"/usr/$(get_libdir) |
31 |
emake -C programs lz4 lz4c |
32 |
# work around lack of proper target dependencies |
33 |
touch lib/liblz4 |