[103159] trunk/dports/math/atlas/Portfile

vince at macports.org vince at macports.org
Sat Feb 16 08:21:12 PST 2013


Revision: 103159
          https://trac.macports.org/changeset/103159
Author:   vince at macports.org
Date:     2013-02-16 08:21:12 -0800 (Sat, 16 Feb 2013)
Log Message:
-----------
Bump to 3.10.1 and add dependency to libgomp for appropriate GCC versions.

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

Modified: trunk/dports/math/atlas/Portfile
===================================================================
--- trunk/dports/math/atlas/Portfile	2013-02-16 13:37:01 UTC (rev 103158)
+++ trunk/dports/math/atlas/Portfile	2013-02-16 16:21:12 UTC (rev 103159)
@@ -6,7 +6,7 @@
 categories              math
 license                 BSD
 name                    atlas
-version                 3.10.0
+version                 3.10.1
 revision                1
 
 # additional versions
@@ -36,10 +36,10 @@
                         patch-ATL_cmm4x4x128_av_c.diff
 
 
-checksums               atlas3.10.0.tar.bz2 \
-rmd160  4e969dfee2662c536e2f2bfc49b51e8ef5bc2c94 \
-sha256  a90a2e3463504e3297b56edc13769d766732e82bd8f1de951cfc78444f148465 \
-                        lapack-3.4.2.tgz \
+checksums           atlas3.10.1.tar.bz2 \
+rmd160  67f928ad900caa300b23e2f824b8a495f416c8d6 \
+sha256  a215b492204aae0205f4028e7c4076492a5d6a564f8f859ff062fd79587bcc86 \
+                    lapack-3.4.2.tgz \
 rmd160  8740c35c9a85b71424fe1ffeed192256aebeb431 \
 sha256  60a65daaf16ec315034675942618a2230521ea7adf85eea788ee54841072faf0
 
@@ -499,9 +499,16 @@
 
         # Ensure libgomp is linked
         if {[info exists gccversion] && ${gccnumber} > 45} {
-            reinplace -E \
-                "s|(LIBS =.*)|\\1 ${prefix}/lib/gcc${gccnumber}/libgomp.dylib|" \
-                ${atlas_path}/build/Make.inc
+			set gmpfx	${prefix}/lib/gcc${gccnumber}
+			if {[file exists ${gmpfx}/${arch}/libgomp.dylib]} {
+				reinplace -E \
+					"s|(LIBS =.*)|\\1 ${gmpfx}/${arch}/libgomp.dylib|" \
+					${atlas_path}/build/Make.inc
+			} else {
+				reinplace -E \
+					"s|(LIBS =.*)|\\1 ${gmpfx}/libgomp.dylib|" \
+					${atlas_path}/build/Make.inc
+			}
         }
     }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130216/5f3da79b/attachment.html>


More information about the macports-changes mailing list