Using cxx11 PortGroup on < 10.9

Ryan Schmidt ryandesign at macports.org
Mon Jan 25 11:17:21 PST 2016


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.




More information about the macports-dev mailing list