1 |
commit: 475e43d7365b80a6fa40226ff49c863bcfe0dae5 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Dec 31 20:58:43 2018 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Dec 31 21:13:46 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=475e43d7 |
7 |
|
8 |
sci-libs/parmetis: EAPI-6 bump, add missing cmake-utils_src_prepare |
9 |
|
10 |
Closes: https://bugs.gentoo.org/671994 |
11 |
Package-Manager: Portage-2.3.52, Repoman-2.3.12 |
12 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
13 |
|
14 |
sci-libs/parmetis/parmetis-4.0.3.ebuild | 12 ++++++------ |
15 |
1 file changed, 6 insertions(+), 6 deletions(-) |
16 |
|
17 |
diff --git a/sci-libs/parmetis/parmetis-4.0.3.ebuild b/sci-libs/parmetis/parmetis-4.0.3.ebuild |
18 |
index 0df1f3da634..bb48b4e600f 100644 |
19 |
--- a/sci-libs/parmetis/parmetis-4.0.3.ebuild |
20 |
+++ b/sci-libs/parmetis/parmetis-4.0.3.ebuild |
21 |
@@ -1,14 +1,13 @@ |
22 |
# Copyright 1999-2018 Gentoo Authors |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
-EAPI=5 |
26 |
- |
27 |
-inherit eutils cmake-utils toolchain-funcs |
28 |
+EAPI=6 |
29 |
|
30 |
# Check metis version bundled in parmetis tar ball |
31 |
# by diff of metis and parmetis tar ball |
32 |
METISPV=5.1.0 |
33 |
METISP=metis-${METISPV} |
34 |
+inherit cmake-utils toolchain-funcs |
35 |
|
36 |
DESCRIPTION="Parallel (MPI) unstructured graph partitioning library" |
37 |
HOMEPAGE="http://www-users.cs.umn.edu/~karypis/metis/parmetis/" |
38 |
@@ -36,6 +35,8 @@ pkg_setup() { |
39 |
} |
40 |
|
41 |
src_prepare() { |
42 |
+ cmake-utils_src_prepare |
43 |
+ |
44 |
# libdir love |
45 |
sed -i \ |
46 |
-e '/DESTINATION/s/lib/lib${LIB_SUFFIX}/g' \ |
47 |
@@ -58,7 +59,6 @@ src_prepare() { |
48 |
-e '/add_subdirectory(include/d' \ |
49 |
-e '/add_subdirectory(libparmetis/d' \ |
50 |
CMakeLists.txt || die |
51 |
- |
52 |
fi |
53 |
|
54 |
if use int64; then |
55 |
@@ -77,8 +77,8 @@ src_configure() { |
56 |
-DMETIS_PATH="${S}/metis" |
57 |
-DGKRAND=ON |
58 |
-DMETIS_INSTALL=ON |
59 |
- $(cmake-utils_use openmp OPENMP) |
60 |
- $(cmake-utils_use pcre PCRE) |
61 |
+ -DOPENMP=$(usex openmp) |
62 |
+ -DPCRE=$(usex pcre) |
63 |
$@ |
64 |
) |
65 |
cmake-utils_src_configure |