[92666] trunk/dports/math/fftw-3/Portfile

ram at macports.org ram at macports.org
Thu May 3 06:03:46 PDT 2012


Revision: 92666
          https://trac.macports.org/changeset/92666
Author:   ram at macports.org
Date:     2012-05-03 06:03:46 -0700 (Thu, 03 May 2012)
Log Message:
-----------
math/fftw-3: add gcc47 variant to use gfortran-mp-4.7 for fortran wrappings

Modified Paths:
--------------
    trunk/dports/math/fftw-3/Portfile

Modified: trunk/dports/math/fftw-3/Portfile
===================================================================
--- trunk/dports/math/fftw-3/Portfile	2012-05-03 13:03:43 UTC (rev 92665)
+++ trunk/dports/math/fftw-3/Portfile	2012-05-03 13:03:46 UTC (rev 92666)
@@ -162,7 +162,7 @@
     }
 }
 
-variant gcc42 description {create Fortran wrappers using gcc42} conflicts gcc43 gcc44 gcc45 gcc46 g95 {
+variant gcc42 description {create Fortran wrappers using gcc42} conflicts gcc43 gcc44 gcc45 gcc46 gcc47 g95 {
     depends_lib-append    port:gcc42
     depends_skip_archcheck gcc42
     configure.f77         gfortran-mp-4.2
@@ -176,7 +176,7 @@
     }
 }
 
-variant gcc43 description {create Fortran wrappers using gcc43} conflicts gcc42 gcc44 gcc45 gcc46 g95 {
+variant gcc43 description {create Fortran wrappers using gcc43} conflicts gcc42 gcc44 gcc45 gcc46 gcc47 g95 {
     depends_lib-append    port:gcc43
     configure.f77         gfortran-mp-4.3
     configure.args-delete --disable-fortran
@@ -189,7 +189,7 @@
     }
 }
 
-variant gcc44 description {create Fortran wrappers using gcc44} conflicts gcc42 gcc43 gcc45 gcc46 g95 {
+variant gcc44 description {create Fortran wrappers using gcc44} conflicts gcc42 gcc43 gcc45 gcc46 gcc47 g95 {
     depends_lib-append    port:gcc44
     configure.f77         gfortran-mp-4.4
     configure.args-delete --disable-fortran
@@ -202,7 +202,7 @@
     }
 }
 
-variant gcc45 description {create Fortran wrappers using gcc45} conflicts gcc42 gcc43 gcc44 gcc46 g95 {
+variant gcc45 description {create Fortran wrappers using gcc45} conflicts gcc42 gcc43 gcc44 gcc46 gcc47 g95 {
     depends_lib-append    port:gcc45
     configure.f77         gfortran-mp-4.5
     configure.args-delete --disable-fortran
@@ -215,7 +215,7 @@
     }
 }
 
-variant gcc46 description {create Fortran wrappers using gcc46} conflicts gcc42 gcc43 gcc44 gcc45 g95 {
+variant gcc46 description {create Fortran wrappers using gcc46} conflicts gcc42 gcc43 gcc44 gcc45 gcc47 g95 {
     depends_lib-append    port:gcc46
     configure.f77         gfortran-mp-4.6
     configure.args-delete --disable-fortran
@@ -228,6 +228,19 @@
     }
 }
 
+variant gcc47 description {create Fortran wrappers using gcc46} conflicts gcc42 gcc43 gcc44 gcc45 gcc46 g95 {
+    depends_lib-append    port:gcc47
+    configure.f77         gfortran-mp-4.7
+    configure.args-delete --disable-fortran
+    if { ${os.arch} == "i386" } {
+        lappend merger_configure_args(ppc)     "--disable-fortran"
+        lappend merger_configure_args(ppc64)   "--disable-fortran"
+    } else {
+        lappend merger_configure_args(i386)    "--disable-fortran"
+        lappend merger_configure_args(x86_64)  "--disable-fortran"
+    }
+}
+
 variant g95 description {create Fortran wrappers using f95} conflicts gcc42 gcc43 gcc44 gcc45 gcc46 {
     depends_lib-append    port:g95
     depends_skip_archcheck g95
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120503/c001e612/attachment.html>


More information about the macports-changes mailing list