[60606] trunk/dports/science/mpich2/Portfile

snc at macports.org snc at macports.org
Mon Nov 16 10:38:25 PST 2009


Revision: 60606
          http://trac.macports.org/changeset/60606
Author:   snc at macports.org
Date:     2009-11-16 10:38:24 -0800 (Mon, 16 Nov 2009)
Log Message:
-----------
switch from gfortran to gcc-based variants, #22461

Modified Paths:
--------------
    trunk/dports/science/mpich2/Portfile

Modified: trunk/dports/science/mpich2/Portfile
===================================================================
--- trunk/dports/science/mpich2/Portfile	2009-11-16 18:33:08 UTC (rev 60605)
+++ trunk/dports/science/mpich2/Portfile	2009-11-16 18:38:24 UTC (rev 60606)
@@ -36,7 +36,7 @@
 
 use_parallel_build  no
 
-variant g95 description {Enable Fortran 77 and Fortran 90 bindings using g95} conflicts gfortran {
+variant g95 description {Enable Fortran 77 and Fortran 90 bindings using g95} conflicts gcc42 gcc43 {
    depends_lib-append      port:g95
    configure.f77           "${prefix}/bin/g95"
    configure.fflags        "-i4"
@@ -45,13 +45,18 @@
    configure.args-append   --enable-f77 --enable-f90
 }
 
-variant gfortran description {Enable Fortran 77 and Fortran 90 bindings using gfortran from gcc43} conflicts g95 {
-   depends_lib-append   port:gcc43
-   configure.f77        "${prefix}/bin/gfortran-mp-4.3"
-   configure.f90        "${prefix}/bin/gfortran-mp-4.3"
+variant gcc43 description {Enable Fortran 77 and Fortran 90 bindings using gfortran from gcc43} conflicts g95 gcc42 {
+   depends_lib-append    port:gcc43
+   configure.compiler    macports-gcc-4.3
    configure.args-append   --enable-f77 --enable-f90
 }
 
+variant gcc42 description {Enable Fortran 77 and Fortran 90 bindings using gfortran from gcc42} conflicts g95 gcc43 {
+   depends_lib-append    port:gcc42
+   configure.compiler    macports-gcc-4.2
+   configure.args-append   --enable-f77 --enable-f90
+}
+
 variant gforker description {Use gforker process manager instead of the default mpd} {
    configure.args-append   --with-pm=gforker
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091116/f4ac7c0f/attachment.html>


More information about the macports-changes mailing list