[91766] trunk/dports/graphics/xfig/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Mon Apr 9 21:43:39 PDT 2012
Revision: 91766
https://trac.macports.org/changeset/91766
Author: jeremyhu at macports.org
Date: 2012-04-09 21:43:39 -0700 (Mon, 09 Apr 2012)
Log Message:
-----------
xfig: Make the fix for gcc-4.2 useful for apple-gcc-4.2
Modified Paths:
--------------
trunk/dports/graphics/xfig/Portfile
Modified: trunk/dports/graphics/xfig/Portfile
===================================================================
--- trunk/dports/graphics/xfig/Portfile 2012-04-10 03:43:54 UTC (rev 91765)
+++ trunk/dports/graphics/xfig/Portfile 2012-04-10 04:43:39 UTC (rev 91766)
@@ -69,7 +69,7 @@
}
# https://trac.macports.org/ticket/25935
-if {${configure.compiler} == "gcc-4.2"} {
+if {[string match "*gcc-4.2" ${configure.compiler}]} {
# Fix font selection bug when w_fontpanel.o is compiled with optimization by gcc 4.2
pre-build {
system -W ${worksrcpath} "${build.cmd} CDEBUGFLAGS=-O0 w_fontpanel.o"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120409/83eee8dd/attachment-0001.html>
More information about the macports-changes
mailing list