From: Uwe Köcher Date: Tue, 29 May 2018 13:35:33 +0000 (+0200) Subject: parmetis: bugfix: patch and platform macos does not work; enables the patch only... X-Git-Tag: v9.0.0~11^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74f61d6eb424b56123b9095361966363d8d0d003;p=candi.git parmetis: bugfix: patch and platform macos does not work; enables the patch only for linux platforms --- diff --git a/deal.II-toolchain/packages/parmetis.package b/deal.II-toolchain/packages/parmetis.package index 33c2444..b4047e4 100644 --- a/deal.II-toolchain/packages/parmetis.package +++ b/deal.II-toolchain/packages/parmetis.package @@ -36,7 +36,7 @@ package_specific_build() { } package_specific_patch () { - if [ ${VERSION} == "4.0.3" ]; then + if [ ${PLATFORM_OSTYPE} == linux && ${VERSION} == "4.0.3" ]; then cd ${UNPACK_PATH}/${EXTRACTSTO} cecho ${WARN} "applying patch for building METIS shared libraries" patch -p0 --forward < ${ORIG_DIR}/${PROJECT}/patches/parmetis-4.0.3-build.patch || true @@ -66,3 +66,4 @@ export PARMETIS_DIR=${INSTALL_PATH} " >> $CONFIG_FILE fi } +