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

jameskyle at macports.org jameskyle at macports.org
Mon Jan 18 05:32:45 PST 2010


Revision: 62814
          http://trac.macports.org/changeset/62814
Author:   jameskyle at macports.org
Date:     2010-01-18 05:32:42 -0800 (Mon, 18 Jan 2010)
Log Message:
-----------
Removed the -no-cpp-precomp flag for g4 builds to prevent gnu compiler warnings in logs.

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

Modified: trunk/dports/math/atlas/Portfile
===================================================================
--- trunk/dports/math/atlas/Portfile	2010-01-18 13:19:01 UTC (rev 62813)
+++ trunk/dports/math/atlas/Portfile	2010-01-18 13:32:42 UTC (rev 62814)
@@ -104,6 +104,8 @@
 
 pre-configure {
     reinplace "s|cc=gcc|cc=${prefix}/bin/gcc-mp-4.3|g" ${worksrcpath}/configure
+    reinplace "s|-no-cpp-precomp||g" ${workpath}/${name}-${version}/CONFIG/src/atlcomp.txt
+    
     # Get some system specific variables for maximum optimization
     set cpufreq [expr {[exec sysctl -n hw.cpufrequency]/1000000}]
     ui_debug "Setting CPU Frequency for: ${cpufreq}"
@@ -142,7 +144,7 @@
            ${workpath}/${lapackname}-${lapackversion}/make.inc
     reinplace "s|OPTS     = -O2|OPTS = ${atlas_fflags}|" \
            ${workpath}/${lapackname}-${lapackversion}/make.inc
-
+      
     reinplace "s|NOOPT    = -O0|NOOPT = -O2 -m${my_arch}|" \
            ${workpath}/${lapackname}-${lapackversion}/make.inc
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100118/386f83bb/attachment-0001.html>


More information about the macports-changes mailing list