request for configure clarifications on darwin10

Rainer Müller raimue at macports.org
Tue Sep 15 17:44:48 PDT 2009


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


More information about the macports-dev mailing list