summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-12-31 21:58:43 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-12-31 22:13:46 +0100
commit475e43d7365b80a6fa40226ff49c863bcfe0dae5 (patch)
tree796b97d6756cc77aa412590fcda9672272831f0f /sci-libs/parmetis
parentsci-libs/parmetis: missing || die (diff)
downloadgentoo-475e43d7365b80a6fa40226ff49c863bcfe0dae5.tar.gz
gentoo-475e43d7365b80a6fa40226ff49c863bcfe0dae5.tar.bz2
gentoo-475e43d7365b80a6fa40226ff49c863bcfe0dae5.zip
sci-libs/parmetis: EAPI-6 bump, add missing cmake-utils_src_prepare
Closes: https://bugs.gentoo.org/671994 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'sci-libs/parmetis')
-rw-r--r--sci-libs/parmetis/parmetis-4.0.3.ebuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/sci-libs/parmetis/parmetis-4.0.3.ebuild b/sci-libs/parmetis/parmetis-4.0.3.ebuild
index 0df1f3da6341..bb48b4e600fe 100644
--- a/sci-libs/parmetis/parmetis-4.0.3.ebuild
+++ b/sci-libs/parmetis/parmetis-4.0.3.ebuild
@@ -1,14 +1,13 @@
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-
-inherit eutils cmake-utils toolchain-funcs
+EAPI=6
# Check metis version bundled in parmetis tar ball
# by diff of metis and parmetis tar ball
METISPV=5.1.0
METISP=metis-${METISPV}
+inherit cmake-utils toolchain-funcs
DESCRIPTION="Parallel (MPI) unstructured graph partitioning library"
HOMEPAGE="http://www-users.cs.umn.edu/~karypis/metis/parmetis/"
@@ -36,6 +35,8 @@ pkg_setup() {
}
src_prepare() {
+ cmake-utils_src_prepare
+
# libdir love
sed -i \
-e '/DESTINATION/s/lib/lib${LIB_SUFFIX}/g' \
@@ -58,7 +59,6 @@ src_prepare() {
-e '/add_subdirectory(include/d' \
-e '/add_subdirectory(libparmetis/d' \
CMakeLists.txt || die
-
fi
if use int64; then
@@ -77,8 +77,8 @@ src_configure() {
-DMETIS_PATH="${S}/metis"
-DGKRAND=ON
-DMETIS_INSTALL=ON
- $(cmake-utils_use openmp OPENMP)
- $(cmake-utils_use pcre PCRE)
+ -DOPENMP=$(usex openmp)
+ -DPCRE=$(usex pcre)
$@
)
cmake-utils_src_configure