[109072] trunk/dports/lang/v8/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Wed Aug 7 14:06:54 PDT 2013


Revision: 109072
          https://trac.macports.org/changeset/109072
Author:   jeremyhu at macports.org
Date:     2013-08-07 14:06:53 -0700 (Wed, 07 Aug 2013)
Log Message:
-----------
v8: Update check to support MP clang compilers

Modified Paths:
--------------
    trunk/dports/lang/v8/Portfile

Modified: trunk/dports/lang/v8/Portfile
===================================================================
--- trunk/dports/lang/v8/Portfile	2013-08-07 21:05:37 UTC (rev 109071)
+++ trunk/dports/lang/v8/Portfile	2013-08-07 21:06:53 UTC (rev 109072)
@@ -36,7 +36,7 @@
 build.env-append        CC=${configure.cc} \
                         CXX=${configure.cxx} \
                         LINK=${configure.cxx}
-if {${configure.compiler} == "clang"} {
+if {[string match *clang* ${configure.compiler}]} {
     build.env-append    GYP_DEFINES=clang=1
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130807/dcc62ae8/attachment.html>


More information about the macports-changes mailing list