set deployment target from macports.conf

Ryan Schmidt ryandesign at macports.org
Fri Aug 22 02:05:00 PDT 2008


On Aug 22, 2008, at 03:59, Anders F Björklund wrote:

> Harry van der Wolf wrote:
>
>> I'm currently on Tiger but I'm planning to move to Leopard. I build
>> bundles for 2 open source projects currently by "hand compiling"
>> almost every library as universal. I'm trying to move to MacPorts
>> as that's much simpler and MacPorts has much improved in the
>> Universal section.
>> If I build an application bundle on Leopard using macports, it will
>> crash on Tiger with a bus error. Most possibly due to the default
>> deployment target and mmacosx-version-min which are default set to
>> 10.5 on Leopard 10.5 (I assume?)
>>
>> So, is it possible to set the macosx_deployment_target and CFLAG/
>> CXXFLAG setting -mmacosx-version-min to 10.4 also on Leopard as a
>> default in macports.conf or another configuration file?
>
> I don't think that will be enough, in the general case.
> To build for Tiger, you need to use MacOSX10.4u.sdk...
>
> Theoretically +universal should be able to handle this,
> but cross-compiling isn't really supported in MacPorts.

Yeah. So why did we expose the options in macports.conf again? :)




More information about the macports-users mailing list