Update of /cvsroot/fink/fink In directory sc8-pr-cvs1:/tmp/cvs-serv13084
Modified Files: bootstrap.pl Log Message: Fixing bootstrap on darwin/x86 for bbraun & co
Index: bootstrap.pl =================================================================== RCS file: /cvsroot/fink/fink/bootstrap.pl,v retrieving revision 1.28 retrieving revision 1.29 diff -u -r1.28 -r1.29 --- bootstrap.pl 15 Feb 2003 04:15:35 -0000 1.28 +++ bootstrap.pl 4 Mar 2003 07:29:44 -0000 1.29 @@ -92,7 +92,7 @@ } elsif ($host =~ /^powerpc-apple-darwin6\.[0-4]/) { &print_breaking("This system is supported and tested."); $distribution = "10.2"; -} elsif ($host =~ /^powerpc-apple-darwin(6\.[5-9]|[7-9]\.)/) { +} elsif ($host =~ /^(powerpc|i386)-apple-darwin(6\.[5-9]|[7-9]\.)/) { &print_breaking("This system was not released at the time this Fink ". "release was made, but should work."); $distribution = "10.2";
That's clearly not the proper way to deal with it, the message generated on an intel darwin is wrong - the system in question most certainly was already released when this version of Fink was released. The proper fix would be to add another elsif for x86, and which outputs some appropriate message, like that we don't test on x86 and can't gurantee it works.
Note that we hardcode powerpc in a few places, for example.
Max
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel
