[macports-ports] branch master updated: snowleopardfixes: new port to deal with missing functions in Snow Leopard

Kenneth F. Cunningham ken.cunningham.webuse at gmail.com
Fri Jul 21 17:56:11 UTC 2017


On 2017-07-21, at 4:21 AM, Ryan Schmidt wrote:


> "variant universal {}" declares that a universal variant should be offered to the user, and that it requires no additional code as compared to the regular build.
> 

> "PortGroup muniversal 1.0" defines a universal variant that builds multiple times, once for each arch, then uses lipo(1) to glue them together.


Thanks for the detailed response, Ryan. I believe get how this works now. 

If it works like I think it does, PortGroup muniversal does manually what Apple's driverdriver.c does behind the scenes for apple gcc compilers (gcc4.2, etc) and is built in to clang … so PortGroup muniversal should not be needed for anything that is being handled by an Apple compiler that can understand what to do with multiple -arch flags.

<https://opensource.apple.com/source/gcc_42/gcc_42-5577/driverdriver.c>

If that is all true, it makes me wonder what if anything actually does need PortGroup universal  to build correctly any more.

Ken


More information about the macports-dev mailing list