[99239] trunk/dports/graphics/graphite2/Portfile
ryandesign at macports.org
ryandesign at macports.org
Tue Oct 30 01:12:02 PDT 2012
Revision: 99239
http://trac.macports.org//changeset/99239
Author: ryandesign at macports.org
Date: 2012-10-30 01:12:02 -0700 (Tue, 30 Oct 2012)
Log Message:
-----------
graphite2: fix build with gcc-4.0; enable tests
Modified Paths:
--------------
trunk/dports/graphics/graphite2/Portfile
Modified: trunk/dports/graphics/graphite2/Portfile
===================================================================
--- trunk/dports/graphics/graphite2/Portfile 2012-10-30 03:40:12 UTC (rev 99238)
+++ trunk/dports/graphics/graphite2/Portfile 2012-10-30 08:12:02 UTC (rev 99239)
@@ -24,4 +24,12 @@
checksums rmd160 f6858b233753020b83624fe5c8b3e98c3ea1802b \
sha256 0eb19282a1941bdd5e6d7165718c5d4692d62bac6c1eea56d9e522715cb144f7
+if {${configure.compiler} == "gcc-4.0"} {
+ post-patch {
+ reinplace "s|-fdiagnostics-show-option||g" ${worksrcpath}/src/CMakeLists.txt ${worksrcpath}/tests/CMakeLists.txt
+ }
+}
+
+test.run yes
+
livecheck.regex /${name}-(\[0-9.\]+)${extract.suffix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121030/b3cdfd0d/attachment.html>
More information about the macports-changes
mailing list