New install, how should I set my macports.conf

Ryan Schmidt ryandesign at macports.org
Sat Jan 23 17:52:21 PST 2010


On Jan 23, 2010, at 19:47, Jim Busser wrote:

> On 2010-01-23, at 1:51 PM, Ryan Schmidt wrote:
> 
>> postgresql84 does not currently build correctly universal for x86_64/i386:
>> 
>> http://trac.macports.org/ticket/21358
> 
> As postgresql84 does not currently build correctly universal for x86_64/i386 however it (presumably) can build for i386
> 
> and
> 
> as wxWidgets (as dependency for py26-wxpython) needs 32-bit (because it does not build 64-bit yet, this from a personal answer from Jyrki Wahlstedt)
> 
> does this mean that, provided I am happy to lose 64-bit or build them selectively for those which had no interacting dependencies / dependents, then I could just set 
> 
> build_archs i386

build_arch i386, yes. Note that not all ports support changing the build_arch.


> and would I need to do some kind of purge-and-rebuild?

Yes, you would have to rebuild all ports for 32-bit. Easiest would be to use the instructions on the Migration page in the wiki to uninstall and reinstall all ports. (You can skip the part about reinstalling MacPorts base.)


> Then what I need which cannot build universal and/or which for any other reason would not build 64-bit should then work?

Yes, except for ports which do not support changing the build_arch. The ability to specify the build_arch is new in MacPorts 1.8 and not all ports support it. Ports that use "use_configure no" are particularly suspect; just as they would have to manually support the universal variant, they would have to manually support non-default build_arch settings.




More information about the macports-users mailing list