1 |
commit: ab53f947797c698fefc3a52f879015b47ba3b741 |
2 |
Author: Slawomir Lis <slis <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 1 07:54:03 2017 +0000 |
4 |
Commit: Slawek Lis <slis <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 1 07:54:03 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab53f947 |
7 |
|
8 |
sci-libs/libgeodecomp: fixed multilib-check |
9 |
|
10 |
Bug report 629478 |
11 |
|
12 |
Package-Manager: Portage-2.3.8, Repoman-2.3.3 |
13 |
|
14 |
sci-libs/libgeodecomp/libgeodecomp-0.3.1.ebuild | 5 ++++- |
15 |
1 file changed, 4 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/sci-libs/libgeodecomp/libgeodecomp-0.3.1.ebuild b/sci-libs/libgeodecomp/libgeodecomp-0.3.1.ebuild |
18 |
index 15b6687669b..095cf09eafa 100644 |
19 |
--- a/sci-libs/libgeodecomp/libgeodecomp-0.3.1.ebuild |
20 |
+++ b/sci-libs/libgeodecomp/libgeodecomp-0.3.1.ebuild |
21 |
@@ -1,4 +1,4 @@ |
22 |
-# Copyright 1999-2016 Gentoo Foundation |
23 |
+# Copyright 1999-2017 Gentoo Foundation |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
EAPI=5 |
27 |
@@ -23,6 +23,9 @@ S="${WORKDIR}/${P}/src" |
28 |
|
29 |
src_prepare() { |
30 |
epatch "${FILESDIR}/libflatarray.patch" |
31 |
+ sed -i 's/libdir=${CMAKE_INSTALL_PREFIX}\/lib/libdir=\/usr\/'$(get_libdir)'/' "${S}/CMakeLists.txt" |
32 |
+ sed -i 's/install(TARGETS geodecomp DESTINATION lib)/install(TARGETS geodecomp DESTINATION '$(get_libdir)')/' "${S}/CMakeLists.txt" |
33 |
+ |
34 |
if ! use examples ; then |
35 |
sed -i 's/examples//g' CMakeLists.txt |
36 |
fi |