On 28164-7-23 05:59 , Harry van der Wolf wrote: > Hi, > > I did read posts about this but can't find them back. Sorry if I raise the > question again. > > In previous versions of macports it was possible to specify an SDK and a > "macosx-version-min" (-mmacosx-version-min from CFLAGS). > When switching from Leopard to Snow Leopard about 6 weeks ago I completely > wiped out my /opt to make a clean start so I can't find it from my old > macports.conf as well. > > Can I still specify an SDK to be used, e.g. 10.5 or 10.6? (10.5 for building > without vdpau which isn't avalaible on Leopard) > And more important: Can I specify the "macosx-version-min" or what the > variable was called. > I read something that it was removed from 1.9.1 and would return in 1.9.2? > > I build bundles based on macports and now from Snow Leopard I would like to > build for Leopard as well.
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. - Josh _______________________________________________ macports-users mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
