diff options
author | Fabian Groffen <grobian@gentoo.org> | 2022-07-14 21:41:27 +0200 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2022-07-14 21:43:02 +0200 |
commit | e97e5e3c03d2f1145b777341aafbb713436a842f (patch) | |
tree | 89d7f1f7606a9caefdca7294fa0e5e6bfeb2dece /dev-libs/libmpack | |
parent | dev-python/debugpy: Stabilize 1.6.0 ppc, #858065 (diff) | |
download | gentoo-e97e5e3c03d2f1145b777341aafbb713436a842f.tar.gz gentoo-e97e5e3c03d2f1145b777341aafbb713436a842f.tar.bz2 gentoo-e97e5e3c03d2f1145b777341aafbb713436a842f.zip |
dev-libs/libmpack-1.0.5-r3: fix for Prefix, bug #831898
Patch by Victor Ananyev in bug 831898#c3
Closes: https://bugs.gentoo.org/831898
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'dev-libs/libmpack')
-rw-r--r-- | dev-libs/libmpack/libmpack-1.0.5-r3.ebuild | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/dev-libs/libmpack/libmpack-1.0.5-r3.ebuild b/dev-libs/libmpack/libmpack-1.0.5-r3.ebuild index ee84302d76e2..f1fc343d175b 100644 --- a/dev-libs/libmpack/libmpack-1.0.5-r3.ebuild +++ b/dev-libs/libmpack/libmpack-1.0.5-r3.ebuild @@ -33,7 +33,8 @@ src_compile() { "PREFIX=${EPREFIX}/usr" "CC=$(tc-getCC)" "config=release" - "LIBDIR=/usr/$(get_libdir)" + "LIBDIR=${EPREFIX}/usr/$(get_libdir)" + "INCDIR=${EPREFIX}/usr/include" ) emake "${myemakeargs[@]}" lib-bin @@ -47,8 +48,9 @@ src_install() { local myemakeargs=( "VERBOSE=1" "PREFIX=${EPREFIX}/usr" - "DESTDIR=${ED}" - "LIBDIR=/usr/$(get_libdir)" + "DESTDIR=${D}" + "LIBDIR=${EPREFIX}/usr/$(get_libdir)" + "INCDIR=${EPREFIX}/usr/include" "XLDFLAGS=-shared" ) |