PortGroup cmake

Joshua Root jmr at macports.org
Mon Nov 5 17:06:14 PST 2012


On 2012-11-6 12:00 , Bradley Giesbrecht wrote:
> Then why not drop the else "configure.args-append -DCMAKE_OSX_SYSROOT:PATH=/"?
> I was hoping you might recall why it was added in r78651.

It was added because of the tickets referenced in the commit message.
Stuff broke because cmake was using an SDK by default.

> And why not move the existing configure.args statements outside the pre-configure phase?
> This would make it easier to make adjustments in the Portfile.

Because the portgroup code runs before the portfile has a chance to
declare a universal variant, which can affect the value of
configure.sdkroot.

- Josh


More information about the macports-dev mailing list