1 |
commit: 0ca5296eff6f0036d51dceb69aa8cdc99c98df46 |
2 |
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 14 16:30:55 2019 +0000 |
4 |
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 14 16:31:41 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ca5296e |
7 |
|
8 |
sci-libs/dealii: fix QA issue |
9 |
|
10 |
Closes: https://bugs.gentoo.org/692082 |
11 |
Package-Manager: Portage-2.3.71, Repoman-2.3.17 |
12 |
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org> |
13 |
|
14 |
sci-libs/dealii/dealii-9.1.1.ebuild | 4 +++- |
15 |
sci-libs/dealii/dealii-9999.ebuild | 3 +++ |
16 |
2 files changed, 6 insertions(+), 1 deletion(-) |
17 |
|
18 |
diff --git a/sci-libs/dealii/dealii-9.1.1.ebuild b/sci-libs/dealii/dealii-9.1.1.ebuild |
19 |
index 719f7819739..f4aeb21e9f0 100644 |
20 |
--- a/sci-libs/dealii/dealii-9.1.1.ebuild |
21 |
+++ b/sci-libs/dealii/dealii-9.1.1.ebuild |
22 |
@@ -113,7 +113,6 @@ src_configure() { |
23 |
-DDEAL_II_WITH_MUPARSER="$(usex muparser)" |
24 |
-DDEAL_II_WITH_NANOFLANN="$(usex nanoflann)" |
25 |
-DDEAL_II_WITH_NETCDF="$(usex netcdf)" |
26 |
- -DOPENCASCADE_DIR="${CASROOT}" |
27 |
-DDEAL_II_WITH_OPENCASCADE="$(usex opencascade)" |
28 |
-DDEAL_II_WITH_P4EST="$(usex p4est)" |
29 |
-DDEAL_II_WITH_PETSC="$(usex petsc)" |
30 |
@@ -128,6 +127,9 @@ src_configure() { |
31 |
-DDEAL_II_WITH_TRILINOS="$(usex trilinos)" |
32 |
) |
33 |
|
34 |
+ # Do a little dance for purely cosmetic "QA" reasons. |
35 |
+ use opencascade && mycmakeargs+=( -DOPENCASCADE_DIR="${CASROOT}" ) |
36 |
+ |
37 |
# Do a little dance for purely cosmetic "QA" reasons. The build system |
38 |
# does query for the highest instruction set first and skips the other |
39 |
# variables if a "higher" variant is set |
40 |
|
41 |
diff --git a/sci-libs/dealii/dealii-9999.ebuild b/sci-libs/dealii/dealii-9999.ebuild |
42 |
index 719f7819739..dbaa10c592b 100644 |
43 |
--- a/sci-libs/dealii/dealii-9999.ebuild |
44 |
+++ b/sci-libs/dealii/dealii-9999.ebuild |
45 |
@@ -128,6 +128,9 @@ src_configure() { |
46 |
-DDEAL_II_WITH_TRILINOS="$(usex trilinos)" |
47 |
) |
48 |
|
49 |
+ # Do a little dance for purely cosmetic "QA" reasons. |
50 |
+ use opencascade && mycmakeargs+=( -DOPENCASCADE_DIR="${CASROOT}" ) |
51 |
+ |
52 |
# Do a little dance for purely cosmetic "QA" reasons. The build system |
53 |
# does query for the highest instruction set first and skips the other |
54 |
# variables if a "higher" variant is set |