summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSlawomir Lis <slis@gentoo.org>2017-09-01 09:54:03 +0200
committerSlawomir Lis <slis@gentoo.org>2017-09-01 09:54:03 +0200
commitab53f947797c698fefc3a52f879015b47ba3b741 (patch)
tree8f0e4fe76ed8b552833b7abba084423d65059a3e /sci-libs
parentsys-process/criu: fix build failure against glibc-2.26 (diff)
downloadgentoo-ab53f947797c698fefc3a52f879015b47ba3b741.tar.gz
gentoo-ab53f947797c698fefc3a52f879015b47ba3b741.tar.bz2
gentoo-ab53f947797c698fefc3a52f879015b47ba3b741.zip
sci-libs/libgeodecomp: fixed multilib-check
Bug report 629478 Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/libgeodecomp/libgeodecomp-0.3.1.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/sci-libs/libgeodecomp/libgeodecomp-0.3.1.ebuild b/sci-libs/libgeodecomp/libgeodecomp-0.3.1.ebuild
index 15b6687669b..095cf09eafa 100644
--- a/sci-libs/libgeodecomp/libgeodecomp-0.3.1.ebuild
+++ b/sci-libs/libgeodecomp/libgeodecomp-0.3.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -23,6 +23,9 @@ S="${WORKDIR}/${P}/src"
src_prepare() {
epatch "${FILESDIR}/libflatarray.patch"
+ sed -i 's/libdir=${CMAKE_INSTALL_PREFIX}\/lib/libdir=\/usr\/'$(get_libdir)'/' "${S}/CMakeLists.txt"
+ sed -i 's/install(TARGETS geodecomp DESTINATION lib)/install(TARGETS geodecomp DESTINATION '$(get_libdir)')/' "${S}/CMakeLists.txt"
+
if ! use examples ; then
sed -i 's/examples//g' CMakeLists.txt
fi