Revision
110412
Author
jeremyhu@macports.org
Date
2013-08-30 16:04:05 -0700 (Fri, 30 Aug 2013)

Log Message

php: Use clang from newer Xcode

Modified Paths

Diff

Modified: trunk/dports/lang/php/Portfile (110411 => 110412)


--- trunk/dports/lang/php/Portfile	2013-08-30 22:36:53 UTC (rev 110411)
+++ trunk/dports/lang/php/Portfile	2013-08-30 23:04:05 UTC (rev 110412)
@@ -3,6 +3,7 @@
 
 PortSystem              1.0
 PortGroup               php 1.1
+PortGroup               compiler_blacklist_versions 1.0
 
 name                    php
 platforms               darwin freebsd
@@ -144,8 +145,9 @@
     patchfiles          patch-${php}-scripts-php-config.in.diff
     
     # https://trac.macports.org/ticket/31590
-    # TODO: verify issue with current versions of clang and php
-    compiler.blacklist  clang
+    # Tested all subports (except oracle) and they built with clang-425.  The reported failure was with Xcode 4.2.
+    # Xcode 4.3 may work, but leaving it blacklisted due to lack of testing
+    compiler.blacklist  {clang < 400} macports-clang-2.9 macports-clang-3.0 macports-clang-3.1
     
     set phpinidir       ${prefix}/etc/${php}
     set extraphpinidir  ${prefix}/var/db/${php}