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

vince at macports.org vince at macports.org
Wed Apr 17 23:12:08 PDT 2013


Revision: 105337
          https://trac.macports.org/changeset/105337
Author:   vince at macports.org
Date:     2013-04-17 23:12:08 -0700 (Wed, 17 Apr 2013)
Log Message:
-----------
Re-enables threading for ppc if necessary.

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

Modified: trunk/dports/math/atlas/Portfile
===================================================================
--- trunk/dports/math/atlas/Portfile	2013-04-18 00:31:56 UTC (rev 105336)
+++ trunk/dports/math/atlas/Portfile	2013-04-18 06:12:08 UTC (rev 105337)
@@ -333,6 +333,7 @@
 
     configure.args-append    -t 0
     set no_threads  1
+    exec sed -i bak -E "/.*threads.*/d" ${worksrcpath}/Make.top
 } else {
 
     set no_threads  0
@@ -355,12 +356,10 @@
 
 post-patch {
     if {${build_arch} == "ppc" || ${build_arch} == "ppc64"} {
+    
         reinplace \
         "s|cMVFLAGS=\\\\\"%s\\\\\"|cMVFLAGS=\\\\\"-force_cpusubtype_ALL\ %s\\\\\"|" \
          ${worksrcpath}/include/atlas_mvtesttime.h
-
-    # Remove all references to threads directories
-    exec sed -i bak -E "/.*threads.*/d" ${worksrcpath}/Make.top
     }
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130417/469dd625/attachment.html>


More information about the macports-changes mailing list