On 2009-09-16 02:10 , Jack Howarth wrote: > On Tue, Sep 15, 2009 at 07:20:20PM -0400, Jack Howarth wrote: >> + else >> + if sysctl -a | grep -c hw.cpu64bit_capable>/dev/null 2>&1 >> ; then >> + UNAME_PROCESSOR=x86_64 > > Please execuse the error in the previously posted patch...I grabbed an older > copy. The > correct line there is... > > if test `sysctl -n hw.cpu64bit_capable | grep -c 1` = 1 ; > then
Note that this would be wrong on Leopard (Darwin 9) or earlier as the CPU might be 64-bit capable, but the default arch is i386. Rainer _______________________________________________ macports-dev mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev
