[90711] trunk/dports/graphics/xfig/Portfile
ryandesign at macports.org
ryandesign at macports.org
Mon Mar 12 23:47:02 PDT 2012
Revision: 90711
http://trac.macports.org/changeset/90711
Author: ryandesign at macports.org
Date: 2012-03-12 23:47:02 -0700 (Mon, 12 Mar 2012)
Log Message:
-----------
xfig: use llvm-gcc-4.2 instead of clang (#33600); change darwin 10 block to be gcc-4.2-specific instead, and use 'system -W' instead of cd
Modified Paths:
--------------
trunk/dports/graphics/xfig/Portfile
Modified: trunk/dports/graphics/xfig/Portfile
===================================================================
--- trunk/dports/graphics/xfig/Portfile 2012-03-13 04:07:13 UTC (rev 90710)
+++ trunk/dports/graphics/xfig/Portfile 2012-03-13 06:47:02 UTC (rev 90711)
@@ -68,12 +68,18 @@
${docdir}
}
-platform darwin 10 {
- # Fix font selection bug when w_fontpanel.o is compiled with optimization by gcc 4.2 (#25935)
+# https://trac.macports.org/ticket/25935
+if {${configure.compiler} == "gcc-4.2"} {
+ # Fix font selection bug when w_fontpanel.o is compiled with optimization by gcc 4.2
pre-build {
- system "cd ${worksrcpath} && ${build.cmd} CDEBUGFLAGS=-O0 w_fontpanel.o"
+ system -W ${worksrcpath} "${build.cmd} CDEBUGFLAGS=-O0 w_fontpanel.o"
}
}
+# https://trac.macports.org/ticket/31504
+if {${configure.compiler} == "clang"} {
+ configure.compiler llvm-gcc-4.2
+}
+
livecheck.type regex
livecheck.regex {>Xfig/Transfig (.*) Download</a>}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120312/89de76e9/attachment.html>
More information about the macports-changes
mailing list