summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/dealii')
-rw-r--r--sci-libs/dealii/dealii-9.1.1.ebuild4
-rw-r--r--sci-libs/dealii/dealii-9999.ebuild3
2 files changed, 6 insertions, 1 deletions
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