<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/e7b400f8954212edc22b3c74f5172c8a306907ad">https://github.com/macports/macports-ports/commit/e7b400f8954212edc22b3c74f5172c8a306907ad</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new e7b400f portgroup cxx11 1.1: remove redundant black/whitelisting
</span>e7b400f is described below
<span style='display:block; white-space:pre;color:#808000;'>commit e7b400f8954212edc22b3c74f5172c8a306907ad
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Thu Sep 7 07:18:58 2017 +1000
<span style='display:block; white-space:pre;color:#404040;'> portgroup cxx11 1.1: remove redundant black/whitelisting
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> It's pointless having both a blacklist and a whitelist, since if a whitelist
</span><span style='display:block; white-space:pre;color:#404040;'> exists then only the compilers in it will be used. It's also pointless having
</span><span style='display:block; white-space:pre;color:#404040;'> multiple compilers provided by ports in the whitelist, as the first available
</span><span style='display:block; white-space:pre;color:#404040;'> listed compiler will be used, and those provided by a port are always
</span><span style='display:block; white-space:pre;color:#404040;'> available.
</span>---
_resources/port1.0/group/cxx11-1.1.tcl | 18 ++++--------------
1 file changed, 4 insertions(+), 14 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_resources/port1.0/group/cxx11-1.1.tcl b/_resources/port1.0/group/cxx11-1.1.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 65d7fd4..396ec0b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_resources/port1.0/group/cxx11-1.1.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_resources/port1.0/group/cxx11-1.1.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -38,21 +38,10 @@
</span> PortGroup compiler_blacklist_versions 1.0
# Compilers supporting C++11 are GCC >= 4.6 and clang >= 3.3.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# We do not know what "cc" is, so blacklist it as well.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-compiler.blacklist-append {*gcc-3*} {*gcc-4.[0-5]} {clang < 500} cc
</span>
if {${cxx_stdlib} eq "libstdc++" } {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- compiler.blacklist-append {macports-clang-3.[0-8]} clang
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- compiler.whitelist-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- macports-clang-4.0 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- macports-gcc-6 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- macports-gcc-5 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- macports-gcc-4.9 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- macports-gcc-4.8 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- macports-gcc-4.7 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- macports-gcc-4.6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ compiler.whitelist macports-clang-4.0
</span>
# see https://trac.macports.org/ticket/53194
configure.cxx_stdlib macports-libstdc++
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -63,7 +52,7 @@ if {${cxx_stdlib} eq "libstdc++" } {
</span> pre-configure {
ui_msg "PowerPC C++11 ports are compiling with gcc6. EXPERIMENTAL."
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- compiler.whitelist-delete macports-clang-4.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ compiler.whitelist macports-gcc-6
</span> universal_variant no
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -77,5 +66,6 @@ if {${cxx_stdlib} eq "libstdc++" } {
</span> }
} else {
# GCC compilers can not use libc++
<span style='display:block; white-space:pre;background:#ffe0e0;'>- compiler.blacklist-append *gcc*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # We do not know what "cc" is, so blacklist it as well.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ compiler.blacklist-append *gcc* {clang < 500} cc
</span> }
</pre><pre style='margin:0'>
</pre>