Building for different version and/or SDK
Harry van der Wolf
hvdwolf at gmail.com
Wed Sep 8 23:45:36 PDT 2010
2010/9/9 Harry van der Wolf <hvdwolf at gmail.com>
>
>
> 2010/9/8 Joshua Root <jmr at macports.org>
>
>
>> 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
>
>
Sorry,
(I use 10.5 instead of 10.6 as Leopard doesn't support 10.5)
should be
(I use 10.5 instead of 10.6 as Leopard doesn't support vdpau)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20100909/3d49531c/attachment.html>
More information about the macports-users
mailing list