<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/206d7cbf9c9f8d94f6633c80335abc88b78745a3">https://github.com/macports/macports-ports/commit/206d7cbf9c9f8d94f6633c80335abc88b78745a3</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 206d7cb cxx11-1.1.tcl: Check os.platform before checking os.major
</span>206d7cb is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 206d7cbf9c9f8d94f6633c80335abc88b78745a3
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Fri Dec 1 02:36:13 2017 -0600
<span style='display:block; white-space:pre;color:#404040;'> cxx11-1.1.tcl: Check os.platform before checking os.major
</span>---
_resources/port1.0/group/cxx11-1.1.tcl | 4 ++--
1 file changed, 2 insertions(+), 2 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 bd8c077..ddb9a8c 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;'>@@ -49,7 +49,7 @@ if {${cxx_stdlib} eq "libstdc++" } {
</span> depends_lib-delete port:libgcc
depends_lib-append port:libgcc
# ensure desired compiler flags are present
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if { ${os.major} < 13 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.platform} eq "darwin" && ${os.major} < 13} {
</span> configure.cxxflags-delete -D_GLIBCXX_USE_CXX11_ABI=0
configure.cxxflags-append -D_GLIBCXX_USE_CXX11_ABI=0
configure.objcxxflags-delete -D_GLIBCXX_USE_CXX11_ABI=0
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -73,7 +73,7 @@ if {${cxx_stdlib} eq "libstdc++" } {
</span> # see https://trac.macports.org/ticket/54766
depends_lib-append port:libgcc
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if { ${os.major} < 13 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.platform} eq "darwin" && ${os.major} < 13} {
</span> # prior to OS X Mavericks, libstdc++ was the default C++ runtime, so
# assume MacPorts libstdc++ must be ABI compatible with system libstdc++
# for OS X Mavericks and above, users must select libstdc++, so
</pre><pre style='margin:0'>
</pre>