[142800] trunk/dports/lang/libcxx/Portfile

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


Revision: 142800
          https://trac.macports.org/changeset/142800
Author:   jeremyhu at macports.org
Date:     2015-11-23 16:31:43 -0800 (Mon, 23 Nov 2015)
Log Message:
-----------
libcxx: Bump to 3.7.0

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

Modified: trunk/dports/lang/libcxx/Portfile
===================================================================
--- trunk/dports/lang/libcxx/Portfile	2015-11-24 00:04:47 UTC (rev 142799)
+++ trunk/dports/lang/libcxx/Portfile	2015-11-24 00:31:43 UTC (rev 142800)
@@ -4,7 +4,7 @@
 PortGroup               compiler_blacklist_versions 1.0
 
 name                    libcxx
-version                 3.6.0
+version                 3.7.0
 epoch                   1
 categories              lang
 platforms               darwin
@@ -26,8 +26,8 @@
 use_xz                  yes
 distname                ${name}-${version}.src
 
-checksums               rmd160  9221db789b801dde45ad89f57c7a74fd3b082cf4 \
-                        sha256  299c1e82b0086a79c5c1aa1885ea3be3bbce6979aaa9b886409b14f9b387fbb7
+checksums               rmd160  d78a0948483ff593ab2c39dc5ca745b4d08e8620 \
+                        sha256  c18f3c8333cd7e678c1424a57fe5e25efe740ca7caf62ac67152b4723f3ad08e
 
 variant universal {}
 use_configure no
@@ -53,9 +53,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}
+        }
+    }
+
     depends_lib port:libcxxabi
 
     supported_archs i386 x86_64 ppc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/045c7e77/attachment.html>


More information about the macports-changes mailing list