Building for different version and/or SDK

Ryan Schmidt ryandesign at macports.org
Wed Sep 8 15:27:10 PDT 2010


On Sep 8, 2010, at 16:29, Joshua Root wrote:

> This is implemented more sanely, but is still completely unsupported, in
> 1.9.0+. Just set macosx_deployment_target to whatever version you want
> (e.g. "10.5") in macports.conf. Base will then set
> MACOSX_DEPLOYMENT_TARGET in the environment (which is equivalent to
> -mmacosx-version-min in CFLAGS) and set configure.sdkroot to the
> appropriate SDK, which ends up as "-isysroot foo" in CFLAGS/CPPFLAGS etc.

Ah, I didn't realize that had gone back in. I looked in macports.conf.default and did not see any mention of macosx_deployment_target.




More information about the macports-users mailing list