<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">After switching my Snow Leopard over to the toolchain that supports C++11 and favors libc++ instead of libstdc++, I could no longer build nmap; it kept getting undefined symbols like std::logic_error::logic_error  (which as used, may be peculiar to libstdc++ instead).<div class=""><br class=""></div><div class="">On a hunch, I tried the plain old Apple compiler (configure.compiler=gcc), and it worked.</div><div class=""><br class=""></div><div class="">Not sure what's up with this, because I've never run into it before, either on Snow Leopard or on anything newer (El Capitan, Sierra).</div><div class=""><br class=""></div><div class="">Is nmap doing something that doesn't play equally nicely with both flavors of library, or what?  If so, should the Portfile be more specific about what it needs (compiler or library or whatever), so as to be less dependent on a particular macports.conf configuration or toolchain installation?</div><div class=""><br class=""></div><div class="">Here's what I've got configured:</div><div class=""><br class=""></div><div class=""><font face="Andale Mono" class="">sh-3.2# egrep 'default_compilers|cxx_stdlib' macports.conf<br class="">cxx_stdlib         libc++<br class="">default_compilers  macports-clang-3.9 macports-clang-3.7 macports-clang-3.4 gcc-4.2 apple-gcc-4.2 gcc-4.0</font></div><div class=""><br class=""></div><div class=""><br class=""></div></body></html>