[142796] trunk/dports/lang/libcxxabi/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Sat Dec 12 07:16:21 PST 2015


Revision: 142796
          https://trac.macports.org/changeset/142796
Author:   jeremyhu at macports.org
Date:     2015-11-23 08:58:47 -0800 (Mon, 23 Nov 2015)
Log Message:
-----------
libcxxabi: Adjust blacklisting (#49778)

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

Modified: trunk/dports/lang/libcxxabi/Portfile
===================================================================
--- trunk/dports/lang/libcxxabi/Portfile	2015-11-23 16:40:13 UTC (rev 142795)
+++ trunk/dports/lang/libcxxabi/Portfile	2015-11-23 16:58:47 UTC (rev 142796)
@@ -58,9 +58,15 @@
 variant replacemnt_libcxx description {EXPERTS ONLY: Build a replacement libcxxabi and libcxx even if it is already part of the base OS.} {}
 
 if {${os.major} < 11 || [variant_isset replacemnt_libcxx]} {
-    # 3.5 and 3.6 are blacklisted to prevent dependency cycles
-    compiler.blacklist *gcc* {clang < 100} macports-clang-3.5 macports-clang-3.6
+    compiler.blacklist *gcc* {clang < 300}
 
+    # clang 3.5 and newer are blacklisted to prevent dependency cycles
+    foreach ver {3.5 3.6 3.7 3.8} {
+        if {![file exists ${prefix}/bin/clang-mp-${ver}]} {
+            compiler.blacklist-append macports-clang-${ver}
+        }
+    }
+
     supported_archs i386 x86_64 ppc
 
     if {[variant_isset universal] && [lsearch ${universal_archs} ppc] != -1} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/ec8fec7e/attachment-0001.html>


More information about the macports-changes mailing list