[133689] trunk/dports/graphics/libcdr-0.1/Portfile

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


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

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

Modified: trunk/dports/graphics/libcdr-0.1/Portfile
===================================================================
--- trunk/dports/graphics/libcdr-0.1/Portfile	2015-03-09 01:31:21 UTC (rev 133688)
+++ trunk/dports/graphics/libcdr-0.1/Portfile	2015-03-09 01:36:09 UTC (rev 133689)
@@ -33,9 +33,8 @@
                     port:lcms2 \
                     port:zlib
 
-# build fix for darwin 9 and earlier (#43487)
-
-if {${os.platform} eq "darwin" && ${os.major} < 10} {
+# 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/38271a8c/attachment.html>


More information about the macports-changes mailing list