reduce-algebra portfile
Ryan Schmidt
ryandesign at macports.org
Tue Dec 13 21:04:50 PST 2011
On Dec 13, 2011, at 20:56, Ryan Schmidt wrote:
> On Dec 13, 2011, at 20:48, Mark Brethen wrote:
>
>> I suspect that the errors stem from the undefined variable 'MACHINE'. The MACHINE variable ist set according to names derived from config-guess. And in make-psl.sh I find a series of if statements, including:
>> ----------
>> if test $guess = "x86_64-apple-darwin10.4.0"
>> then
>> export MACHINE=macintel64
>> fi
>>
>> if test $guess = "i386-apple-darwin10.4.0"
>> then
>> export MACHINE=macintel
>> fi
>> ---------
>>
>> But config is reporting "OS darwin/11.2.0 (Mac OS X 10.7) arch i386".
>
> If those are the only darwin lines in the file, then yes, that will only work on Intel Macs running OS X 10.6.4 and no other version. So that's not a very good way for them to be doing that.
Looking further at what's in their trunk, I see:
if test $guess = "x86_64-apple-darwin10.4.0"
then
export MACHINE=macintel64
fi
if test $guess = "x86_64-apple-darwin10.5.0"
then
export MACHINE=macintel64
fi
if test $guess = "i386-apple-darwin10.4.0"
then
export MACHINE=macintel
fi
Based on this, I suspect the developers are under the mistaken impression that darwin10.4.0 is OS X 10.4 and darwin10.5.0 is OS X 10.5. This is of course not the case: darwin8 is OS X 10.4, darwin9 is OS X 10.5, darwin10 is OS X 10.6 (specifically, darwin10.4.x is OS X 10.6.4 and darwin10.5.x is OSX 10.6.5), and darwin 11 is OS X 10.7.
More information about the macports-dev
mailing list