[120860] trunk/dports/math/mumps/Portfile

sean at macports.org sean at macports.org
Tue Jun 10 03:50:12 PDT 2014


Revision: 120860
          https://trac.macports.org/changeset/120860
Author:   sean at macports.org
Date:     2014-06-10 03:50:12 -0700 (Tue, 10 Jun 2014)
Log Message:
-----------
mumps: add default variants

Modified Paths:
--------------
    trunk/dports/math/mumps/Portfile

Modified: trunk/dports/math/mumps/Portfile
===================================================================
--- trunk/dports/math/mumps/Portfile	2014-06-10 10:13:35 UTC (rev 120859)
+++ trunk/dports/math/mumps/Portfile	2014-06-10 10:50:12 UTC (rev 120860)
@@ -42,6 +42,14 @@
 configure.fflags    -fPIC -O3 -mtune=native
 configure.f90flags  -fPIC -O3 -mtune=native
 
+if {![mpi_variant_isset]} {
+    default_variants +mpich
+}
+
+if {![fortran_variant_isset]} {
+    default_variants +gfortran
+}
+
 post-extract {
     file copy ${worksrcpath}/Make.inc/Makefile.gfortran.PAR ${worksrcpath}/Makefile.inc
     reinplace "s|^\#LMETISDIR.*$|LMETISDIR = ${prefix}/lib|" ${worksrcpath}/Makefile.inc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140610/acf9f988/attachment.html>


More information about the macports-changes mailing list