commit:     7a4fe59582f1df69755bf1b5f297a4897507420c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 29 14:45:54 2016 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jul 29 14:46:44 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a4fe595

app-arch/lz4: Copy the libdir/prefix fix to -9999

 app-arch/lz4/lz4-9999.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/app-arch/lz4/lz4-9999.ebuild b/app-arch/lz4/lz4-9999.ebuild
index f4a6390..8e7767e 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

Reply via email to