On 25 January 2016 at 20:17, Ryan Schmidt wrote: > On Jan 24, 2016, at 11:15 PM, Jeremy Huddleston Sequoia wrote: > >> What benefit does "cxx.require_global_libc++ no" have over the current >> approach of just doing: >> >> configure.cxx_stdlib libc++ >> depends_lib-append port:libcxx > > Or I was going to suggest: > > PortGroup cxx11 1.0 > configure.cxx_stdlib libc++ > > which is what the mongodb port does. The cxx11 1.0 portgroup ensures that > compilers that don't do C++11 are blacklisted, which I think just depending > on the libcxx port wouldn't do.
My experience is that the second command is not needed because using "PortGroup cxx11 1.0" fails on < 10.9 anyway (unless libc++ is default). Mojca _______________________________________________ macports-dev mailing list macports-dev@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-dev