From 0ca5296eff6f0036d51dceb69aa8cdc99c98df46 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Wed, 14 Aug 2019 11:30:55 -0500 Subject: [PATCH] sci-libs/dealii: fix QA issue Closes: https://bugs.gentoo.org/692082 Package-Manager: Portage-2.3.71, Repoman-2.3.17 Signed-off-by: Matthias Maier --- sci-libs/dealii/dealii-9.1.1.ebuild | 4 +++- sci-libs/dealii/dealii-9999.ebuild | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/sci-libs/dealii/dealii-9.1.1.ebuild b/sci-libs/dealii/dealii-9.1.1.ebuild index 719f78197390..f4aeb21e9f00 100644 --- a/sci-libs/dealii/dealii-9.1.1.ebuild +++ b/sci-libs/dealii/dealii-9.1.1.ebuild @@ -113,7 +113,6 @@ src_configure() { -DDEAL_II_WITH_MUPARSER="$(usex muparser)" -DDEAL_II_WITH_NANOFLANN="$(usex nanoflann)" -DDEAL_II_WITH_NETCDF="$(usex netcdf)" - -DOPENCASCADE_DIR="${CASROOT}" -DDEAL_II_WITH_OPENCASCADE="$(usex opencascade)" -DDEAL_II_WITH_P4EST="$(usex p4est)" -DDEAL_II_WITH_PETSC="$(usex petsc)" @@ -128,6 +127,9 @@ src_configure() { -DDEAL_II_WITH_TRILINOS="$(usex trilinos)" ) + # Do a little dance for purely cosmetic "QA" reasons. + use opencascade && mycmakeargs+=( -DOPENCASCADE_DIR="${CASROOT}" ) + # Do a little dance for purely cosmetic "QA" reasons. The build system # does query for the highest instruction set first and skips the other # variables if a "higher" variant is set diff --git a/sci-libs/dealii/dealii-9999.ebuild b/sci-libs/dealii/dealii-9999.ebuild index 719f78197390..dbaa10c592be 100644 --- a/sci-libs/dealii/dealii-9999.ebuild +++ b/sci-libs/dealii/dealii-9999.ebuild @@ -128,6 +128,9 @@ src_configure() { -DDEAL_II_WITH_TRILINOS="$(usex trilinos)" ) + # Do a little dance for purely cosmetic "QA" reasons. + use opencascade && mycmakeargs+=( -DOPENCASCADE_DIR="${CASROOT}" ) + # Do a little dance for purely cosmetic "QA" reasons. The build system # does query for the highest instruction set first and skips the other # variables if a "higher" variant is set -- 2.26.2