summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2016-07-29 16:45:54 +0200
committerMichał Górny <mgorny@gentoo.org>2016-07-29 16:46:44 +0200
commit7a4fe59582f1df69755bf1b5f297a4897507420c (patch)
tree17b56db3de8636ba20a22cbd7c5690bb9bbe6995 /app-arch/lz4
parentmedia-libs/elles_icc_profiles: update metadata. (diff)
downloadgentoo-7a4fe59582f1df69755bf1b5f297a4897507420c.tar.gz
gentoo-7a4fe59582f1df69755bf1b5f297a4897507420c.tar.bz2
gentoo-7a4fe59582f1df69755bf1b5f297a4897507420c.zip
app-arch/lz4: Copy the libdir/prefix fix to -9999
Diffstat (limited to 'app-arch/lz4')
-rw-r--r--app-arch/lz4/lz4-9999.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/app-arch/lz4/lz4-9999.ebuild b/app-arch/lz4/lz4-9999.ebuild
index f4a639089f4e..8e7767efc866 100644
--- a/app-arch/lz4/lz4-9999.ebuild
+++ b/app-arch/lz4/lz4-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -41,7 +41,9 @@ multilib_src_compile() {
tc-export CC AR
# we must not use the 'all' target since it builds test programs
# & extra -m32 executables
- emake -C lib liblz4 liblz4.pc
+ emake -C lib liblz4 liblz4.pc \
+ PREFIX="${EPREFIX}/usr" \
+ LIBDIR="${EPREFIX}"/usr/$(get_libdir)
emake -C programs lz4 lz4c
# work around lack of proper target dependencies
touch lib/liblz4