1 |
commit: 27ba48650af3037fa8adf06220d4e5f1373f5885 |
2 |
Author: Fabio Rossi <rossi.f <AT> inwind <DOT> it> |
3 |
AuthorDate: Tue May 31 13:12:48 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jun 3 03:15:25 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27ba4865 |
7 |
|
8 |
sci-mathematics/petsc: fix configuration with USE=mumps |
9 |
|
10 |
Bug: https://bugs.gentoo.org/848789 |
11 |
Signed-off-by: Fabio Rossi <rossi.f <AT> inwind.it> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/25701 |
13 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
14 |
|
15 |
sci-mathematics/petsc/petsc-3.16.0.ebuild | 4 ++-- |
16 |
sci-mathematics/petsc/petsc-3.17.1.ebuild | 2 +- |
17 |
2 files changed, 3 insertions(+), 3 deletions(-) |
18 |
|
19 |
diff --git a/sci-mathematics/petsc/petsc-3.16.0.ebuild b/sci-mathematics/petsc/petsc-3.16.0.ebuild |
20 |
index f39f87d8c281..efe8f2be01e6 100644 |
21 |
--- a/sci-mathematics/petsc/petsc-3.16.0.ebuild |
22 |
+++ b/sci-mathematics/petsc/petsc-3.16.0.ebuild |
23 |
@@ -1,4 +1,4 @@ |
24 |
-# Copyright 1999-2021 Gentoo Authors |
25 |
+# Copyright 1999-2022 Gentoo Authors |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
|
28 |
EAPI=7 |
29 |
@@ -171,7 +171,7 @@ src_configure() { |
30 |
[-lptesmumps,-lptscotch,-lptscotcherr,-lscotch,-lscotcherr]) \ |
31 |
$(petsc_with mumps scalapack \ |
32 |
/usr/include/scalapack -lscalapack) \ |
33 |
- $(use_with mumps mumps \ |
34 |
+ $(petsc_with mumps mumps \ |
35 |
/usr/include \ |
36 |
[-lcmumps,-ldmumps,-lsmumps,-lzmumps,-lmumps_common,-lpord]) \ |
37 |
--with-imagemagick=0 \ |
38 |
|
39 |
diff --git a/sci-mathematics/petsc/petsc-3.17.1.ebuild b/sci-mathematics/petsc/petsc-3.17.1.ebuild |
40 |
index 241199f5fa1c..5b316ba60986 100644 |
41 |
--- a/sci-mathematics/petsc/petsc-3.17.1.ebuild |
42 |
+++ b/sci-mathematics/petsc/petsc-3.17.1.ebuild |
43 |
@@ -168,12 +168,12 @@ src_configure() { |
44 |
$(petsc_with superlu superlu /usr/include/superlu -lsuperlu) \ |
45 |
$(petsc_with scotch ptscotch /usr/include/scotch [-lptesmumps,-lptscotch,-lptscotcherr,-lscotch,-lscotcherr]) \ |
46 |
$(petsc_with mumps scalapack /usr/include/scalapack -lscalapack) \ |
47 |
+ $(petsc_with mumps mumps /usr/include [-lcmumps,-ldmumps,-lsmumps,-lzmumps,-lmumps_common,-lpord]) \ |
48 |
$(use fortran && echo "$(petsc_select mpi fc mpif77 $(tc-getF77))") \ |
49 |
$(use int64 && echo "--with-index-size=64") \ |
50 |
$(use_with boost) \ |
51 |
$(use_with fftw) \ |
52 |
$(use_with hdf5) \ |
53 |
- $(use_with mumps mumps /usr/include [-lcmumps,-ldmumps,-lsmumps,-lzmumps,-lmumps_common,-lpord]) \ |
54 |
$(use_with X x) \ |
55 |
$(use_with X x11) |
56 |
} |