[macports-ports] branch master updated: gnutls 3.5.15: add doc variant

Ryan Schmidt ryandesign at macports.org
Fri Sep 29 18:39:30 UTC 2017


On Sep 29, 2017, at 13:15, Marius Schamschula wrote:

> Apparently, building examples (part of the documentation) using the universal variant under Yosemite needs -stdlib=libstdc++, in other words the cxx11 PortGroup. This would disable gnutls for older systems.

I'm very confused. Yosemite? libstdc++? And why would that have anything to do with universal? Can you refer me to the ticket or other information about this problem?

The purpose of the cxx11 1.0 portgroup is ensure that ports that need C++11 support have it, by ensuring that libc++ is used. On systems where libstdc++ is used, i.e. 10.8 and earlier, ports using this portgroup will error out, telling the user to switch to libc++. On 10.9 and later, including Yosemite (10.10), nothing should happen since those systems default to libc++.

I haven't really followed the development of the cxx11 1.1 portgroup but my understanding is that it provides C++11 support for libstdc++ systems in a different way, using a newer copy of libstdc++ from MacPorts gcc6, and thus does not require the user to reconfigure for libc++ and rebuild all ports. But similar to cxx11 1.0, it doesn't do much on systems using libc++, i.e. 10.9 or later.



More information about the macports-dev mailing list