Update of /cvsroot/fink/fink/perlmod/Fink
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv18367/perlmod/Fink

Modified Files:
      Tag: branch_0_28
        Bootstrap.pm ChangeLog Services.pm 
Log Message:
modernize bootstrap


Index: Services.pm
===================================================================
RCS file: /cvsroot/fink/fink/perlmod/Fink/Services.pm,v
retrieving revision 1.222
retrieving revision 1.222.2.1
diff -u -d -r1.222 -r1.222.2.1
--- Services.pm 2 Jan 2008 05:48:52 -0000       1.222
+++ Services.pm 28 Oct 2008 03:34:05 -0000      1.222.2.1
@@ -1348,8 +1348,8 @@
 # Note: we no longer support 10.1 or 10.2-gcc3.1 in fink, we don't
 # specify default values for these.
 
-       my %system_gcc_default = ('10.2' => '3.3', '10.3' => '3.3', '10.4' => 
'4.0', '10.5' => '4.0');
-       my %gcc_abi_default = ('2.95' => '2.95', '3.1' => '3.1', '3.3' => 
'3.3', '4.0' => '3.3');
+       my %system_gcc_default = ('10.2' => '3.3', '10.3' => '3.3', '10.4' => 
'4.0', '10.5' => '4.0', '10.6' => '4.2');
+       my %gcc_abi_default = ('2.95' => '2.95', '3.1' => '3.1', '3.3' => 
'3.3', '4.0' => '3.3', '4.2' => '3.3');
 
        if (my $sw_vers = get_osx_vers_long())
        {
@@ -1445,7 +1445,7 @@
 
 sub get_darwin_equiv
 {
-       my %darwin_osx = ('1' => '10.0', '5' => '10.1', '6' => '10.2', '7' => 
'10.3', '8' => '10.4', '9' => '10.5');
+       my %darwin_osx = ('1' => '10.0', '5' => '10.1', '6' => '10.2', '7' => 
'10.3', '8' => '10.4', '9' => '10.5', '10' => '10.6');
        return $darwin_osx{get_kernel_vers()};
 }
 

Index: Bootstrap.pm
===================================================================
RCS file: /cvsroot/fink/fink/perlmod/Fink/Bootstrap.pm,v
retrieving revision 1.165.2.7
retrieving revision 1.165.2.8
diff -u -d -r1.165.2.7 -r1.165.2.8
--- Bootstrap.pm        15 Sep 2008 22:47:33 -0000      1.165.2.7
+++ Bootstrap.pm        28 Oct 2008 03:34:05 -0000      1.165.2.8
@@ -259,6 +259,12 @@
                        "of Mac OS X might work with Fink, but there are no " .
                        "guarantees.");
                $distribution = "10.5";
+       } elsif ($host =~ /^(powerpc|i386)-apple-darwin10\./) {
+               &print_breaking("This system was not released at the time " .
+                       "this Fink release was made.  Prerelease versions " .
+                       "of Mac OS X might work with Fink, but there are no " .
+                       "guarantees.");
+               $distribution = "10.6";
        } elsif ($host =~ /^powerpc-apple-darwin1\.[0-2]/) {
                &print_breaking("This system is outdated and not supported ".
                        "by this Fink release. Please update to Mac OS X ".

Index: ChangeLog
===================================================================
RCS file: /cvsroot/fink/fink/perlmod/Fink/ChangeLog,v
retrieving revision 1.1524.2.19
retrieving revision 1.1524.2.20
diff -u -d -r1.1524.2.19 -r1.1524.2.20
--- ChangeLog   21 Oct 2008 07:23:48 -0000      1.1524.2.19
+++ ChangeLog   28 Oct 2008 03:34:05 -0000      1.1524.2.20
@@ -1,3 +1,7 @@
+2008-10-27  Dave Morrison  <[EMAIL PROTECTED]>
+
+       * Bootstrap.pm, Services.pm: modernize bootstrap
+
 2008-10-21  Dave Morrison  <[EMAIL PROTECTED]>
 
        * VirtPackage.pm: correct an error in what system perl 5.8.8 "provides"


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to