[133690] trunk/dports/graphics/libcdr/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Sun Mar 8 18:36:39 PDT 2015


Revision: 133690
          https://trac.macports.org/changeset/133690
Author:   jeremyhu at macports.org
Date:     2015-03-08 18:36:39 -0700 (Sun, 08 Mar 2015)
Log Message:
-----------
libcdr: Adjust build fix to be based on compiler rather than OS version

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

Modified: trunk/dports/graphics/libcdr/Portfile
===================================================================
--- trunk/dports/graphics/libcdr/Portfile	2015-03-09 01:36:09 UTC (rev 133689)
+++ trunk/dports/graphics/libcdr/Portfile	2015-03-09 01:36:39 UTC (rev 133690)
@@ -34,9 +34,8 @@
                 port:lcms2 \
                 port:zlib
 
-# build fix for darwin 10 and earlier (#43487)
-
-if {${os.platform} eq "darwin" && ${os.major} < 11} {
++# build fix for gcc-4.2 (#43487)
++if {[string match "*gcc*" ${configure.compiler}]} {
     configure.cxxflags-append -Wno-long-long
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150308/3c0dbbfa/attachment.html>


More information about the macports-changes mailing list