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

vince at macports.org vince at macports.org
Thu Apr 18 01:35:11 PDT 2013


Revision: 105338
          https://trac.macports.org/changeset/105338
Author:   vince at macports.org
Date:     2013-04-18 01:35:11 -0700 (Thu, 18 Apr 2013)
Log Message:
-----------
Fix a misplaced line following the previous commit.

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

Modified: trunk/dports/math/atlas/Portfile
===================================================================
--- trunk/dports/math/atlas/Portfile	2013-04-18 06:12:08 UTC (rev 105337)
+++ trunk/dports/math/atlas/Portfile	2013-04-18 08:35:11 UTC (rev 105338)
@@ -333,7 +333,6 @@
 
     configure.args-append    -t 0
     set no_threads  1
-    exec sed -i bak -E "/.*threads.*/d" ${worksrcpath}/Make.top
 } else {
 
     set no_threads  0
@@ -361,6 +360,10 @@
         "s|cMVFLAGS=\\\\\"%s\\\\\"|cMVFLAGS=\\\\\"-force_cpusubtype_ALL\ %s\\\\\"|" \
          ${worksrcpath}/include/atlas_mvtesttime.h
     }
+
+    if {${no_threads} == 1} {
+        exec sed -i bak -E "/.*threads.*/d" ${worksrcpath}/Make.top
+    }
 }
 
 # Change the default compilers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130418/6dc91601/attachment.html>


More information about the macports-changes mailing list