commit:     151c9dd65a0e980c73d8889259b70832ee4a762b
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Sat Aug  9 16:56:20 2025 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Sat Aug  9 17:12:45 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=151c9dd6

sci-mathematics/petsc: use correct tc-getFC function

Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 sci-mathematics/petsc/petsc-3.23.3.ebuild | 3 +--
 sci-mathematics/petsc/petsc-3.23.4.ebuild | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/sci-mathematics/petsc/petsc-3.23.3.ebuild 
b/sci-mathematics/petsc/petsc-3.23.3.ebuild
index 6e581ebc0167..ecea740a59f1 100644
--- a/sci-mathematics/petsc/petsc-3.23.3.ebuild
+++ b/sci-mathematics/petsc/petsc-3.23.3.ebuild
@@ -164,14 +164,13 @@ src_configure() {
                $(petsc_select complex-scalars scalar-type complex real) \
                $(petsc_select mpi cc mpicc $(tc-getCC)) \
                $(petsc_select mpi cxx mpicxx $(tc-getCXX)) \
-               $(petsc_select mpi fc mpif90 $(tc-getFC)) \
                $(petsc_with afterimage afterimage /usr/include/libAfterImage 
-lAfterImage) \
                $(petsc_with hypre hypre /usr/include/hypre -lHYPRE) \
                $(petsc_with superlu superlu /usr/include/superlu -lsuperlu) \
                $(petsc_with scotch ptscotch /usr/include/scotch 
[-lptesmumps,-lptscotch,-lptscotcherr,-lscotch,-lscotcherr]) \
                $(petsc_with mumps scalapack /usr/include/scalapack 
-lscalapack) \
                $(petsc_with mumps mumps /usr/include 
[-lcmumps,-ldmumps,-lsmumps,-lzmumps,-lmumps_common,-lpord]) \
-               $(use fortran && echo "$(petsc_select mpi fc mpif77 
$(tc-getF77))") \
+               $(use fortran && echo "$(petsc_select mpi fc mpif90 
$(tc-getFC))") \
                $(use int64 && echo "--with-index-size=64") \
                $(use_with boost) \
                $(use_with fftw) \

diff --git a/sci-mathematics/petsc/petsc-3.23.4.ebuild 
b/sci-mathematics/petsc/petsc-3.23.4.ebuild
index 6e36f143f9c5..fdcf652a09bf 100644
--- a/sci-mathematics/petsc/petsc-3.23.4.ebuild
+++ b/sci-mathematics/petsc/petsc-3.23.4.ebuild
@@ -164,14 +164,13 @@ src_configure() {
                $(petsc_select complex-scalars scalar-type complex real) \
                $(petsc_select mpi cc mpicc $(tc-getCC)) \
                $(petsc_select mpi cxx mpicxx $(tc-getCXX)) \
-               $(petsc_select mpi fc mpif90 $(tc-getF90)) \
                $(petsc_with afterimage afterimage /usr/include/libAfterImage 
-lAfterImage) \
                $(petsc_with hypre hypre /usr/include/hypre -lHYPRE) \
                $(petsc_with superlu superlu /usr/include/superlu -lsuperlu) \
                $(petsc_with scotch ptscotch /usr/include/scotch 
[-lptesmumps,-lptscotch,-lptscotcherr,-lscotch,-lscotcherr]) \
                $(petsc_with mumps scalapack /usr/include/scalapack 
-lscalapack) \
                $(petsc_with mumps mumps /usr/include 
[-lcmumps,-ldmumps,-lsmumps,-lzmumps,-lmumps_common,-lpord]) \
-               $(use fortran && echo "$(petsc_select mpi fc mpif90 
$(tc-getF90))") \
+               $(use fortran && echo "$(petsc_select mpi fc mpif90 
$(tc-getFC))") \
                $(use int64 && echo "--with-index-size=64") \
                $(use_with boost) \
                $(use_with fftw) \

Reply via email to