<pre style='margin:0'>
Marcus Calhoun-Lopez (MarcusCalhoun-Lopez) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/9a7f227d9761190cc531a7b3a41106b6ec976b13">https://github.com/macports/macports-ports/commit/9a7f227d9761190cc531a7b3a41106b6ec976b13</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 9a7f227 cxx11 PG: don't modify configure flags too early
</span>9a7f227 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 9a7f227d9761190cc531a7b3a41106b6ec976b13
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Sun Oct 21 14:23:08 2018 -0700
<span style='display:block; white-space:pre;color:#404040;'> cxx11 PG: don't modify configure flags too early
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> The PG will now respect the Portfile configure.optflags value.
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes https://trac.macports.org/ticket/56280
</span>---
_resources/port1.0/group/cxx11-1.1.tcl | 15 +++++----------
1 file changed, 5 insertions(+), 10 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 59ddc08..264e1fb 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;'>@@ -19,8 +19,12 @@ if {${configure.cxx_stdlib} eq "libstdc++"} {
</span> global os.major os.platform
depends_lib-delete port:libgcc
depends_lib-append port:libgcc
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # ensure desired compiler flags are present
</span> if {${os.platform} eq "darwin" && ${os.major} < 13} {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # prior to OS X Mavericks, libstdc++ was the default C++ runtime, so
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # assume MacPorts libstdc++ must be ABI compatible with system libstdc++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # for OS X Mavericks and above, users must select libstdc++, so
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # assume they want default ABI compatibility
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see https://gcc.gnu.org/onlinedocs/gcc-5.2.0/libstdc++/manual/manual/using_dual_abi.html
</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;'>@@ -44,15 +48,6 @@ if {${configure.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.platform} eq "darwin" && ${os.major} < 13} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # prior to OS X Mavericks, libstdc++ was the default C++ runtime, so
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # assume MacPorts libstdc++ must be ABI compatible with system libstdc++
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # for OS X Mavericks and above, users must select libstdc++, so
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # assume they want default ABI compatibility
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # see https://gcc.gnu.org/onlinedocs/gcc-5.2.0/libstdc++/manual/manual/using_dual_abi.html
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.cxxflags-append -D_GLIBCXX_USE_CXX11_ABI=0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> compiler.blacklist-append macports-gcc-4.3 macports-gcc-4.4 macports-gcc-4.5 macports-gcc \
macports-llvm-gcc-4.2 apple-gcc-4.0 apple-gcc-4.2 gcc-3.3 gcc gcc-4.0 llvm-gcc-4.2 \
macports-dragonegg-3.3 macports-dragonegg-3.4
</pre><pre style='margin:0'>
</pre>