commit: 0ca5296eff6f0036d51dceb69aa8cdc99c98df46 Author: Matthias Maier <tamiko <AT> gentoo <DOT> org> AuthorDate: Wed Aug 14 16:30:55 2019 +0000 Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org> CommitDate: Wed Aug 14 16:31:41 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ca5296e
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 <tamiko <AT> gentoo.org> 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 719f7819739..f4aeb21e9f0 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 719f7819739..dbaa10c592b 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
