2009-01-12, 07:48
I can't recall which thread this was in, so I figured I'd start a new one properly titled for this topic...
If you want to build binaries distributable to 10.4 from your 10.5 box you should do the following.
1) Set the +universal variant in /opt/local/etc/macports/variants.conf
2) Choose the 10.4u SDK in /opt/local/etc/macports/macports.conf by adding these lines:
I previously forgot the universal_target line in the earlier thread but couldn't find it to make the correction.
Note that this will need to be done before building anything in Macports. You may also need to change the x11 prefix to be more 10.4 friendly if you plan to build X11 binaries:
If you want to build binaries distributable to 10.4 from your 10.5 box you should do the following.
1) Set the +universal variant in /opt/local/etc/macports/variants.conf
2) Choose the 10.4u SDK in /opt/local/etc/macports/macports.conf by adding these lines:
Code:
universal_sysroot /Developer/SDKs/MacOSX10.4u.sdk
universal_target 10.4
I previously forgot the universal_target line in the earlier thread but couldn't find it to make the correction.
Note that this will need to be done before building anything in Macports. You may also need to change the x11 prefix to be more 10.4 friendly if you plan to build X11 binaries:
Code:
x11prefix /usr/X11R6