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

vince at macports.org vince at macports.org
Mon Apr 15 06:19:25 PDT 2013


Revision: 105258
          https://trac.macports.org/changeset/105258
Author:   vince at macports.org
Date:     2013-04-15 06:19:25 -0700 (Mon, 15 Apr 2013)
Log Message:
-----------
Move some tweak code in order to execute it before the script creates separate copies for universal builds.

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

Modified: trunk/dports/math/atlas/Portfile
===================================================================
--- trunk/dports/math/atlas/Portfile	2013-04-15 12:16:52 UTC (rev 105257)
+++ trunk/dports/math/atlas/Portfile	2013-04-15 13:19:25 UTC (rev 105258)
@@ -407,7 +407,19 @@
     if {${gcc_version} != 0} {
         set libgccpath                  ${prefix}/lib/gcc${gcc_version}
     }
-    
+
+	# Some tweaks on the original source before universal build 
+	# duplicates it
+    # Overrides goodgcc
+    reinplace -E "s|GOODGCC =.*|GOODGCC = ${configure.cc}\");|" \
+        ${worksrcpath}/CONFIG/src/SpewMakeInc.c
+
+    # Some further tweaks
+    reinplace    "s|cc=gcc|cc=${configure.cc}|g" \
+                    ${worksrcpath}/configure
+    reinplace    "s|-no-cpp-precomp||g" \
+                    ${worksrcpath}/CONFIG/src/atlcomp.txt
+                    
     # Non-universal builds
     if {${universal} == 0} {
 
@@ -644,16 +656,6 @@
         }
     }
     
-    # Overrides goodgcc
-    reinplace -E "s|GOODGCC =.*|GOODGCC = ${configure.cc}\");|" \
-        ${worksrcpath}/CONFIG/src/SpewMakeInc.c
-
-    # Some further tweaks
-    reinplace    "s|cc=gcc|cc=${configure.cc}|g" \
-                    ${worksrcpath}/configure
-    reinplace    "s|-no-cpp-precomp||g" \
-                    ${worksrcpath}/CONFIG/src/atlcomp.txt
-                    
     # On PPC64 we need extra flags for configuring
     if {${native_arch} == "ppc64"} {
         configure.args-append   --cc="\"${configure.cc} -m32 \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130415/9d6b74b1/attachment-0001.html>


More information about the macports-changes mailing list