Revision
93870
Author
vince@macports.org
Date
2012-06-01 13:05:47 -0700 (Fri, 01 Jun 2012)

Log Message

Fix a regression: GOODGCC should be set to our configure.cc and not to "gcc". The corresponding patch was removed during the jump from .47 to .75.

Modified Paths

Diff

Modified: trunk/dports/math/atlas/Portfile (93869 => 93870)


--- trunk/dports/math/atlas/Portfile	2012-06-01 18:29:02 UTC (rev 93869)
+++ trunk/dports/math/atlas/Portfile	2012-06-01 20:05:47 UTC (rev 93870)
@@ -348,6 +348,11 @@
         reinplace "s|XXX|'${cc}' '-O3 -fomit-frame-pointer'|" \
              ${worksrcpath}/CONFIG/src/atlcomp.txt
     }
+
+	# Forces goodgcc
+
+	reinplace -E "s|GOODGCC =.*|GOODGCC = ${configure.cc}\");|" \
+		${worksrcpath}/CONFIG/src/SpewMakeInc.c
     
     # If we use clang, we must grasp a gfortran compiler to build
     # Fortran sources (do not impact overall Atlas performance)