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.
>
> - Josh
>


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

(I use 10.5 instead of 10.6 as Leopard doesn't support 10.5)


Thanks,
Harry
_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to