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

vince at macports.org vince at macports.org
Wed May 30 06:07:01 PDT 2012


Revision: 93765
          https://trac.macports.org/changeset/93765
Author:   vince at macports.org
Date:     2012-05-30 06:06:59 -0700 (Wed, 30 May 2012)
Log Message:
-----------
Modernizes gcc versions and makes qrupdate build with Atlas >= 3.9.76. Should fix #25662.

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

Modified: trunk/dports/math/qrupdate/Portfile
===================================================================
--- trunk/dports/math/qrupdate/Portfile	2012-05-30 12:05:44 UTC (rev 93764)
+++ trunk/dports/math/qrupdate/Portfile	2012-05-30 13:06:59 UTC (rev 93765)
@@ -69,9 +69,9 @@
 
 variant atlas description {build with atlas instead of Accelerate framework} {
     depends_lib-append      port:atlas
-    build.args-append       BLAS="-L${prefix}/lib" LAPACK="-L${prefix}/lib -llapack"
-    destroot.args-append    BLAS="-L${prefix}/lib" LAPACK="-L${prefix}/lib -llapack"
-    test.args-append        BLAS="-L${prefix}/lib" LAPACK="-L${prefix}/lib -llapack"
+    build.args-append       BLAS="-L${prefix}/lib -ltatlas" LAPACK="-L${prefix}/lib -llapack"
+    destroot.args-append    BLAS="-L${prefix}/lib -ltatlas" LAPACK="-L${prefix}/lib -llapack"
+    test.args-append        BLAS="-L${prefix}/lib -ltatlas" LAPACK="-L${prefix}/lib -llapack"
 }
 if {![variant_isset atlas]} {
     build.args-append       BLAS="-framework Accelerate" LAPACK="-framework Accelerate"
@@ -86,7 +86,7 @@
 }
 
 
-variant g95 conflicts gcc43 gcc44 gcc45 universal description {build with g95} {
+variant g95 conflicts gcc45 gcc46 gcc47 universal description {build with g95} {
     depends_build-append    port:g95
     post-patch {
         reinplace "s|Makeconf|Makeconf.g95|" ${worksrcpath}/Makefile
@@ -94,30 +94,30 @@
     }
 }
 
-variant gcc43 conflicts g95 gcc44 gcc45 universal description {build with gcc43 fortran} {
-    depends_lib-append    port:gcc43
+variant gcc45 conflicts g95 gcc46 gcc47 universal description {build with gcc45 fortran} {
+    depends_lib-append    port:gcc45
     post-patch {
-        reinplace "s|gfortran|gfortran-mp-4.3|" ${worksrcpath}/Makeconf
+        reinplace "s|gfortran|gfortran-mp-4.5|" ${worksrcpath}/Makeconf
     }
 }
 
-variant gcc44 conflicts g95 gcc43 gcc45 description {build with gcc44 fortran} {
-    depends_lib-append    port:gcc44
+variant gcc46 conflicts g95 gcc45 gcc47 description {build with gcc46 fortran} {
+    depends_lib-append    port:gcc46
     post-patch {
-        reinplace "s|gfortran|gfortran-mp-4.4|" ${worksrcpath}/Makeconf
+        reinplace "s|gfortran|gfortran-mp-4.6|" ${worksrcpath}/Makeconf
     }
 }
 
-variant gcc45 conflicts g95 gcc43 gcc44 description {build with gcc45 fortran} {
-    depends_lib-append    port:gcc45
+variant gcc47 conflicts g95 gcc45 gcc46 description {build with gcc47 fortran} {
+    depends_lib-append    port:gcc47
     post-patch {
-        reinplace "s|gfortran|gfortran-mp-4.5|" ${worksrcpath}/Makeconf
+        reinplace "s|gfortran|gfortran-mp-4.7|" ${worksrcpath}/Makeconf
     }
 }
 
-if {![variant_isset gcc43] && ![variant_isset gcc44] \
+if {![variant_isset gcc45] && ![variant_isset gcc47] \
         && ![variant_isset g95]} {
-    default_variants +gcc45
+    default_variants +gcc46
 }
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120530/04d32899/attachment.html>


More information about the macports-changes mailing list