<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-base.
</pre>
<p><a href="https://github.com/macports/macports-base/commit/3ea1fb4eeb5b91940361d70634e003ec2fc572c5">https://github.com/macports/macports-base/commit/3ea1fb4eeb5b91940361d70634e003ec2fc572c5</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 3ea1fb4e portconfigure.tcl: use clang5+ for cxx11+ if not libc++
</span>3ea1fb4e is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 3ea1fb4eeb5b91940361d70634e003ec2fc572c5
</span>Author: Ken Cunningham <kencu@macports.org>
AuthorDate: Wed Jun 24 12:56:19 2020 -0700
<span style='display:block; white-space:pre;color:#404040;'> portconfigure.tcl: use clang5+ for cxx11+ if not libc++
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> only macports-clang-5+ clang compilers will accept
</span><span style='display:block; white-space:pre;color:#404040;'> macports-libstdc++
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> closes: https://trac.macports.org/ticket/59717
</span>---
src/port1.0/portconfigure.tcl | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/src/port1.0/portconfigure.tcl b/src/port1.0/portconfigure.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index d2644bc2..44abf81f 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/src/port1.0/portconfigure.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/src/port1.0/portconfigure.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -903,9 +903,19 @@ proc portconfigure::get_min_clang {} {
</span> if {${compiler.cxx_standard} >= 2017} {
set min_value [max_version $min_value 5.0]
} elseif {${compiler.cxx_standard} >= 2014} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- set min_value [max_version $min_value 3.4]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[option configure.cxx_stdlib] eq "libc++"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set min_value [max_version $min_value 3.4]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # macports-libstdc++ only macports-clang compilers >= 5.0 support this
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set min_value [max_version $min_value 5.0]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> } elseif {${compiler.cxx_standard} >= 2011} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- set min_value [max_version $min_value 3.3]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[option configure.cxx_stdlib] eq "libc++"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set min_value [max_version $min_value 3.3]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # macports-libstdc++ only macports-clang compilers >= 5.0 support this
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set min_value [max_version $min_value 5.0]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
if {[vercmp ${compiler.openmp_version} 4.0] >= 0} {
set min_value [max_version $min_value 6.0]
</pre><pre style='margin:0'>
</pre>