app-arch/lz4: Copy the libdir/prefix fix to -9999
authorMichał Górny <mgorny@gentoo.org>
Fri, 29 Jul 2016 14:45:54 +0000 (16:45 +0200)
committerMichał Górny <mgorny@gentoo.org>
Fri, 29 Jul 2016 14:46:44 +0000 (16:46 +0200)
app-arch/lz4/lz4-9999.ebuild

index f4a639089f4e1fe9f11817d85eeed228d55a06d1..8e7767efc8661923a8792ccbb0ce4179b1d9a884 100644 (file)
@@ -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