sci-mathematics/petsc: more configuration fixes
authorMatthias Maier <tamiko@gentoo.org>
Thu, 14 Nov 2019 23:25:42 +0000 (17:25 -0600)
committerMatthias Maier <tamiko@gentoo.org>
Thu, 14 Nov 2019 23:26:40 +0000 (17:26 -0600)
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Matthias Maier <tamiko@gentoo.org>
sci-mathematics/petsc/petsc-3.12.1.ebuild

index 2e5365823ea644d5e46f1f26b1c7b0dc1be7c58d..845d7ff75d69ddf0078f4f2d0f69c758cb643b6a 100644 (file)
@@ -159,23 +159,23 @@ src_configure() {
                $(use_with hdf5) \
                $(petsc_with hypre hypre \
                        /usr/include/hypre -lHYPRE) \
-               $(petsc_with sparse suitesparse) \
+               $(use_with sparse suitesparse) \
                $(petsc_with superlu superlu \
                        /usr/include/superlu -lsuperlu) \
-               $(petsc_with X x) \
-               $(petsc_with X x11) \
+               $(use_with X x) \
+               $(use_with X x11) \
                $(petsc_with scotch ptscotch \
                        /usr/include/scotch \
                [-lptesmumps,-lptscotch,-lptscotcherr,-lscotch,-lscotcherr]) \
                $(petsc_with mumps scalapack \
                        /usr/include/scalapack -lscalapack) \
-               $(petsc_with mumps mumps \
+               $(use_with mumps mumps \
                        /usr/include \
                        [-lcmumps,-ldmumps,-lsmumps,-lzmumps,-lmumps_common,-lpord]) \
                --with-imagemagick=0 \
                --with-python=0 \
-               $(petsc_with boost) \
-               $(petsc_with fftw)
+               $(use_with boost) \
+               $(use_with fftw)
 }
 
 src_install() {