[71118] trunk/dports/math/qrupdate/Portfile

michaelld at macports.org michaelld at macports.org
Wed Sep 1 12:41:14 PDT 2010


Revision: 71118
          http://trac.macports.org/changeset/71118
Author:   michaelld at macports.org
Date:     2010-09-01 12:41:14 -0700 (Wed, 01 Sep 2010)
Log Message:
-----------
Added variant 'gcc45'.

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

Modified: trunk/dports/math/qrupdate/Portfile
===================================================================
--- trunk/dports/math/qrupdate/Portfile	2010-09-01 19:24:45 UTC (rev 71117)
+++ trunk/dports/math/qrupdate/Portfile	2010-09-01 19:41:14 UTC (rev 71118)
@@ -73,7 +73,7 @@
 
 variant accelerate requires no_atlas description {compatibility variant} {}
 
-variant g95 conflicts gcc43 gcc44 universal description {build with g95} {
+variant g95 conflicts gcc43 gcc44 gcc45 universal description {build with g95} {
     depends_build-append    port:g95
     post-patch {
         reinplace "s|Makeconf|Makeconf.g95|" ${worksrcpath}/Makefile
@@ -81,21 +81,29 @@
     }
 }
 
-variant gcc43 conflicts g95 gcc44 universal description {build with gcc43 fortran} {
+variant gcc43 conflicts g95 gcc44 gcc45 universal description {build with gcc43 fortran} {
     depends_lib-append    port:gcc43
     post-patch {
         reinplace "s|gfortran|gfortran-mp-4.3|" ${worksrcpath}/Makeconf
     }
 }
 
-variant gcc44 conflicts g95 gcc43 description {build with gcc44 fortran} {
+variant gcc44 conflicts g95 gcc43 gcc45 description {build with gcc44 fortran} {
     depends_lib-append    port:gcc44
     post-patch {
         reinplace "s|gfortran|gfortran-mp-4.4|" ${worksrcpath}/Makeconf
     }
 }
 
-if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset g95]} {
+variant gcc45 conflicts g95 gcc43 gcc44 description {build with gcc45 fortran} {
+    depends_lib-append    port:gcc45
+    post-patch {
+        reinplace "s|gfortran|gfortran-mp-4.5|" ${worksrcpath}/Makeconf
+    }
+}
+
+if {![variant_isset gcc43] && ![variant_isset gcc44] && \
+        ![variant_isset gcc45] && ![variant_isset g95]} {
     default_variants +gcc44
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100901/399e7d33/attachment.html>


More information about the macports-changes mailing list