[102273] trunk/dports/graphics/graphite2/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Tue Jan 29 15:38:49 PST 2013


Revision: 102273
          https://trac.macports.org/changeset/102273
Author:   jeremyhu at macports.org
Date:     2013-01-29 15:38:49 -0800 (Tue, 29 Jan 2013)
Log Message:
-----------
graphite2: Use workaround for MP-provided compiler as well

Modified Paths:
--------------
    trunk/dports/graphics/graphite2/Portfile

Modified: trunk/dports/graphics/graphite2/Portfile
===================================================================
--- trunk/dports/graphics/graphite2/Portfile	2013-01-29 23:33:18 UTC (rev 102272)
+++ trunk/dports/graphics/graphite2/Portfile	2013-01-29 23:38:49 UTC (rev 102273)
@@ -27,7 +27,7 @@
 
 patchfiles          patch-Graphite.cmake.diff
 
-if {${configure.compiler} == "gcc-4.0"} {
+if {[string match *gcc-4.0 ${configure.compiler}]} {
     # https://sourceforge.net/tracker/?func=detail&atid=513479&aid=3581749&group_id=66144
     post-patch {
         reinplace "s|-fdiagnostics-show-option||g" ${worksrcpath}/src/CMakeLists.txt ${worksrcpath}/tests/CMakeLists.txt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130129/6b7e9c80/attachment.html>


More information about the macports-changes mailing list