1 |
commit: a00edc46078dfe1e74c306ddf9f0e893e9eb71b1 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 16 03:02:31 2017 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 16 03:02:31 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a00edc46 |
7 |
|
8 |
sci-libs/libgeodecomp: [QA] Add cmake-utils_src_prepare |
9 |
|
10 |
Package-Manager: Portage-2.3.11, Repoman-2.3.3 |
11 |
|
12 |
sci-libs/libgeodecomp/libgeodecomp-0.3.1.ebuild | 4 +++- |
13 |
1 file changed, 3 insertions(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/sci-libs/libgeodecomp/libgeodecomp-0.3.1.ebuild b/sci-libs/libgeodecomp/libgeodecomp-0.3.1.ebuild |
16 |
index 095cf09eafa..739df1ee915 100644 |
17 |
--- a/sci-libs/libgeodecomp/libgeodecomp-0.3.1.ebuild |
18 |
+++ b/sci-libs/libgeodecomp/libgeodecomp-0.3.1.ebuild |
19 |
@@ -20,9 +20,11 @@ DEPEND="${RDEPEND} |
20 |
examples? ( !sys-cluster/mpich2 )" |
21 |
|
22 |
S="${WORKDIR}/${P}/src" |
23 |
+PATCHES=( "${FILESDIR}/libflatarray.patch" ) |
24 |
|
25 |
src_prepare() { |
26 |
- epatch "${FILESDIR}/libflatarray.patch" |
27 |
+ cmake-utils_src_prepare |
28 |
+ |
29 |
sed -i 's/libdir=${CMAKE_INSTALL_PREFIX}\/lib/libdir=\/usr\/'$(get_libdir)'/' "${S}/CMakeLists.txt" |
30 |
sed -i 's/install(TARGETS geodecomp DESTINATION lib)/install(TARGETS geodecomp DESTINATION '$(get_libdir)')/' "${S}/CMakeLists.txt" |