<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/175c44aea6ee49fd4f55ad871b8b131bf23f12c5">https://github.com/macports/macports-ports/commit/175c44aea6ee49fd4f55ad871b8b131bf23f12c5</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 175c44aea6ee49fd4f55ad871b8b131bf23f12c5
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Thu Jan 30 19:14:17 2020 -0700
<span style='display:block; white-space:pre;color:#404040;'> gmp: avoid clearing configure.sdkroot
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes https://trac.macports.org/ticket/59503
</span>---
devel/gmp/Portfile | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 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 1d16093..462f668 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;'>@@ -71,11 +71,15 @@ if {[should_add_cxx_abi]} {
</span> configure.cxx-append -D_GLIBCXX_USE_CXX11_ABI=0
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# See #43262
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${configure.sdkroot} ne ""} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.cc-append -isysroot${configure.sdkroot}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.cxx-append -isysroot${configure.sdkroot}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.sdkroot
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {[info exists compiler.limit_flags]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ compiler.limit_flags yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # See #43262
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${configure.sdkroot} ne ""} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cc-append -isysroot${configure.sdkroot}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cxx-append -isysroot${configure.sdkroot}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.sdkroot
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
configure.cc_archflags
</pre><pre style='margin:0'>
</pre>