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

jeremyhu at macports.org jeremyhu at macports.org
Mon Aug 19 00:26:18 PDT 2013


Revision: 109642
          https://trac.macports.org/changeset/109642
Author:   jeremyhu at macports.org
Date:     2013-08-19 00:26:18 -0700 (Mon, 19 Aug 2013)
Log Message:
-----------
libcdr: Check for more clang compilers

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

Modified: trunk/dports/graphics/libcdr/Portfile
===================================================================
--- trunk/dports/graphics/libcdr/Portfile	2013-08-19 07:25:05 UTC (rev 109641)
+++ trunk/dports/graphics/libcdr/Portfile	2013-08-19 07:26:18 UTC (rev 109642)
@@ -37,7 +37,7 @@
 configure.args  --disable-werror \
                 --without-docs
 
-if {${os.major} > 10 && ${configure.compiler} == "clang"} {
+if {${os.major} > 10 && [string match "*clang*" ${configure.compiler}]} {
     configure.cxxflags-append -std=c++11
 } else {
     configure.cxxflags-append -Wno-long-long
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130819/539ad4d3/attachment.html>


More information about the macports-changes mailing list