sci-libs/dealii: fix QA issue
authorMatthias Maier <tamiko@gentoo.org>
Wed, 14 Aug 2019 16:30:55 +0000 (11:30 -0500)
committerMatthias Maier <tamiko@gentoo.org>
Wed, 14 Aug 2019 16:31:41 +0000 (11:31 -0500)
Closes: https://bugs.gentoo.org/692082
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Matthias Maier <tamiko@gentoo.org>
sci-libs/dealii/dealii-9.1.1.ebuild
sci-libs/dealii/dealii-9999.ebuild

index 719f781973909b07eb5f9b1f36dbea10747ea655..f4aeb21e9f002b6fd633e23a9d2d7952f5fcf0a0 100644 (file)
@@ -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
index 719f781973909b07eb5f9b1f36dbea10747ea655..dbaa10c592be2e6496402400bea01043ef82447f 100644 (file)
@@ -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