On 2010-9-9 17:17 , Ryan Schmidt wrote: > On Sep 9, 2010, at 01:44, Harry van der Wolf wrote: > >> 2010/9/8 Joshua Root <[email protected]> >> >>> 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. >> >> Thanks a lot for your answer. I will start rebuilding tonight. >> >> Just to confirm whether I used the correct syntax: I now added to >> /opt/local/etc/macports/macports.conf the following 2 lines: >> >> MACOSX_DEPLOYMENT_TARGET 10.5 >> >> SDKROOT /Developer/SDKs/MacOSX10.5.sdk > > My understanding from what Joshua wrote above is that your macports.conf > should be expanded by only the following line: > > macosx_deployment_target 10.5 > > And it sounds like you do not set the SDK manually; MacPorts sets it for you > based on what you set macosx_deployment_target to.
Correct. - Josh _______________________________________________ macports-users mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
