<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/ed5913a3ac2c2f99f8e2e826c3eab80f08832d17">https://github.com/macports/macports-ports/commit/ed5913a3ac2c2f99f8e2e826c3eab80f08832d17</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 ed5913a  nmap: add stdlib to LDFLAGS
</span>ed5913a is described below

<span style='display:block; white-space:pre;color:#808000;'>commit ed5913a3ac2c2f99f8e2e826c3eab80f08832d17
</span>Author: Ken Cunningham <kencu@macports.org>
AuthorDate: Sun Aug 18 00:21:49 2019 -0700

<span style='display:block; white-space:pre;color:#404040;'>    nmap: add stdlib to LDFLAGS
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    fixes build with some build configurations
</span><span style='display:block; white-space:pre;color:#404040;'>    see https://trac.macports.org/ticket/58837
</span><span style='display:block; white-space:pre;color:#404040;'>    see https://trac.macports.org/ticket/53995
</span>---
 net/nmap/Portfile | 8 ++++++++
 1 file changed, 8 insertions(+)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/nmap/Portfile b/net/nmap/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 089198d..c195135 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/nmap/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/nmap/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -41,6 +41,14 @@ configure.args   --without-zenmap --without-ndiff \
</span>           --with-liblua=included \
                --without-subversion
                
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://trac.macports.org/ticket/58837
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# build system does not pass the stdlib on the link line resulting in link errors
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# for some build configurations using non-default stdlib settings
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.platform} eq "darwin" && ${os.version} < 13} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+  if {[string match *clang* ${configure.cxx}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    configure.ldflags-append -stdlib=${configure.cxx_stdlib}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+  }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span> 
 # nmap's configure script in nselib-bin does not respect --with-liblua=included
 configure.env ac_cv_header_lua_h=no
</pre><pre style='margin:0'>

</pre>