<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/2b3cd960b004d0d883af0266e11c73e3965c66b1">https://github.com/macports/macports-ports/commit/2b3cd960b004d0d883af0266e11c73e3965c66b1</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 2b3cd960b004d0d883af0266e11c73e3965c66b1
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Thu Jan 30 18:48:28 2020 -0700

<span style='display:block; white-space:pre;color:#404040;'>    gmp: avoid clearing configure.cxx_stdlib
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Clearing configure.cxx_stdlib causes cxx_stdlib_overridden to be
</span><span style='display:block; white-space:pre;color:#404040;'>    incorrectly set to 1 in the registry.
</span>---
 devel/gmp/Portfile | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/gmp/Portfile b/devel/gmp/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index c1e1eba..1d16093 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/gmp/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/gmp/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -6,7 +6,7 @@ PortGroup               xcode_workaround 1.0
</span> 
 name                    gmp
 version                 6.2.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision                0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision                1
</span> categories              devel math
 license                 LGPL-3+
 maintainers             {mcalhoun @MarcusCalhoun-Lopez} openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -50,12 +50,7 @@ configure.universal_args-delete \
</span> 
 # the following code must run BEFORE configure.cc is modified
 set configure_cc_save   ${configure.cc}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Clearing configure.cxx_stdlib will change the dynamic value of
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# configure.compiler, rendering configure_cc_save incorrect. So
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# collapse the waveform here.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.compiler      ${configure.compiler}
</span> 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-#
</span> # do not let configure set CC in gmp-h.in because we modify CC later and
 #    we do not want these modifications to end up in the installed header file
 # ugly workaround for #49801
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -65,10 +60,15 @@ post-patch {
</span> }
 
 # Append the -stdlib flags to CXX, since we still want to select the C++ STL.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set cxx_stdlibflags {}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-if {[string match *clang* ${configure.cxx}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+rename portconfigure::should_add_stdlib  should_add_stdlib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+rename portconfigure::should_add_cxx_abi should_add_cxx_abi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+proc portconfigure::should_add_stdlib  {} {return no}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+proc portconfigure::should_add_cxx_abi {} {return no}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {[should_add_stdlib]} {
</span>     configure.cxx-append    -stdlib=${configure.cxx_stdlib}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    configure.cxx_stdlib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {[should_add_cxx_abi]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    configure.cxx-append    -D_GLIBCXX_USE_CXX11_ABI=0
</span> }
 
 # See #43262
</pre><pre style='margin:0'>

</pre>