[93577] trunk/dports/math/atlas

vince at macports.org vince at macports.org
Sun May 27 04:41:57 PDT 2012


Revision: 93577
          https://trac.macports.org/changeset/93577
Author:   vince at macports.org
Date:     2012-05-27 04:41:57 -0700 (Sun, 27 May 2012)
Log Message:
-----------
Bumps to .76, eliminates a patch reported and taken into account upstream, corrects a typo in the last commit.

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

Removed Paths:
-------------
    trunk/dports/math/atlas/files/patch-atlconf_misc_c.diff

Modified: trunk/dports/math/atlas/Portfile
===================================================================
--- trunk/dports/math/atlas/Portfile	2012-05-27 11:20:41 UTC (rev 93576)
+++ trunk/dports/math/atlas/Portfile	2012-05-27 11:41:57 UTC (rev 93577)
@@ -6,7 +6,7 @@
 categories                      math
 license                         BSD
 name                            atlas
-version                         3.9.75
+version                         3.9.76
 
 # additional versions
 set lapackversion               3.4.0
@@ -31,15 +31,14 @@
                                 ${lapackdist}:lapack
 
 patchfiles                      patch-atlcomp_txt.diff \
-                                patch-probe_comp_c.diff \
-                                patch-atlconf_misc_c.diff
+                                patch-probe_comp_c.diff
 
 
 
-checksums                       atlas3.9.75.tar.bz2 \
-    rmd160  8b58bf86f7a8004889a476759c34f9466f8bd178 \
-    sha256  fb25dcd78fe9ec81f14a9a3bfcab2b12c9445581a62c04eb295caacff199c57b \
-    lapack-3.4.0.tgz \
+checksums                       atlas3.9.76.tar.bz2 \
+    rmd160  0063a1af6097c251b6a653a0b5ea944f56e1a065 \
+    sha256  27e3ea802ce363074cfba013740ae176637d9b60f6fd22aabbc5b104fbc31fc6 \
+                                lapack-3.4.0.tgz \
     rmd160  42599fbc1e9f943454d243097b043daa51668d4e \
     sha256  a7139ef97004d0e3c4c30f1c52d508fd7ae84b5fbaf0dd8e792c167dc306c3e9
 
@@ -322,9 +321,17 @@
         reinplace "s|-MPGCC-|${cc}|" ${worksrcpath}/CONFIG/src/probe_comp.c
         reinplace "s|-MPFORTRAN-|${ff}|" ${worksrcpath}/CONFIG/src/probe_comp.c
         reinplace "s|-MPPATH-|${prefix}/bin|" ${worksrcpath}/CONFIG/src/probe_comp.c
-        reinplace "s|XXX|'${cc}' '-fomit-frame-pointer \
-                    -mfpmath=sse -O2 -fno-schedule-insns2'|" \
-            ${worksrcpath}/CONFIG/src/atlcomp.txt
+		if {${build_arch} == "ppc" || ${build_arch} == "ppc64"} {
+
+			reinplace "s|XXX|'${cc}' '-fomit-frame-pointer \
+				-O2 -fno-schedule-insns2'|" \
+				${worksrcpath}/CONFIG/src/atlcomp.txt
+		} else {
+		
+			reinplace "s|XXX|'${cc}' '-fomit-frame-pointer \
+                -mfpmath=sse -O2 -fno-schedule-insns2'|" \
+				${worksrcpath}/CONFIG/src/atlcomp.txt
+		}
     } else {
         reinplace "s|XXX|'${cc}' '-O3 -fomit-frame-pointer'|" \
              ${worksrcpath}/CONFIG/src/atlcomp.txt

Deleted: trunk/dports/math/atlas/files/patch-atlconf_misc_c.diff
===================================================================
--- trunk/dports/math/atlas/files/patch-atlconf_misc_c.diff	2012-05-27 11:20:41 UTC (rev 93576)
+++ trunk/dports/math/atlas/files/patch-atlconf_misc_c.diff	2012-05-27 11:41:57 UTC (rev 93577)
@@ -1,10 +0,0 @@
---- CONFIG/src/atlconf_misc.c.orig	2012-05-18 13:20:52.000000000 +0200
-+++ CONFIG/src/atlconf_misc.c	2012-05-18 13:21:43.000000000 +0200
-@@ -715,6 +715,7 @@
-  *    match with pgcc
-  */
-       if (strstr(res, "(GCC)") || strstr(res, " GCC ") ||
-+		  strstr(res, "gcc-mp") ||
-           strstr(res, "GNU Fortran") || strstr(res, "(GCC ") ||
-           (res[0] == 'g' && res[1] == 'c' && res[2] == 'c' && res[3] == ' ')
-          )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120527/5086c85b/attachment.html>


More information about the macports-changes mailing list