Update of /cvsroot/fink/fink/perlmod/Fink
In directory vz-cvs-3.sog:/tmp/cvs-serv28093

Modified Files:
        Bootstrap.pm ChangeLog Services.pm 
Log Message:
SWAG for what darwin and gcc major-versions 10.7 might have


Index: Services.pm
===================================================================
RCS file: /cvsroot/fink/fink/perlmod/Fink/Services.pm,v
retrieving revision 1.232
retrieving revision 1.233
diff -u -d -r1.232 -r1.233
--- Services.pm 15 Jan 2011 22:48:55 -0000      1.232
+++ Services.pm 25 Apr 2011 12:51:33 -0000      1.233
@@ -1325,7 +1325,7 @@
 # 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', '10.6' => '4.2');
+       my %system_gcc_default = ('10.2' => '3.3', '10.3' => '3.3', '10.4' => 
'4.0', '10.5' => '4.0', '10.6' => '4.2', '10.7' => '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())
@@ -1422,7 +1422,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', '10' => '10.6');
+       my %darwin_osx = ('1' => '10.0', '5' => '10.1', '6' => '10.2', '7' => 
'10.3', '8' => '10.4', '9' => '10.5', '10' => '10.6', '11' => '10.7');
        return $darwin_osx{get_kernel_vers()};
 }
 

Index: Bootstrap.pm
===================================================================
RCS file: /cvsroot/fink/fink/perlmod/Fink/Bootstrap.pm,v
retrieving revision 1.199
retrieving revision 1.200
diff -u -d -r1.199 -r1.200
--- Bootstrap.pm        21 Mar 2011 20:42:36 -0000      1.199
+++ Bootstrap.pm        25 Apr 2011 12:51:32 -0000      1.200
@@ -281,6 +281,12 @@
                        "of Mac OS X might work with Fink, but there are no " .
                        "guarantees.");
                $distribution = "10.6";
+       } elsif ($host =~ /^i386-apple-darwin11\./) {
+               &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.7";
        } 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 ".
@@ -1061,7 +1067,8 @@
                "10.3" => "10.3",
                "10.4" => "10.4",
                "10.5" => "10.4",
-               "10.6" => "10.4"
+               "10.6" => "10.4",
+               "10.7" => "10.4"
                );
 
        return $selfupdatetrees{$distribution};

Index: ChangeLog
===================================================================
RCS file: /cvsroot/fink/fink/perlmod/Fink/ChangeLog,v
retrieving revision 1.1702
retrieving revision 1.1703
diff -u -d -r1.1702 -r1.1703
--- ChangeLog   15 Apr 2011 06:53:32 -0000      1.1702
+++ ChangeLog   25 Apr 2011 12:51:33 -0000      1.1703
@@ -1,3 +1,7 @@
+2011-04-25  Daniel Macks  <dma...@netspace.org>
+
+       * Bootstrap.pm, Services.pm: Guesses at kernel info for 10.7
+
 2011-04-15  Daniel Macks  <dma...@netspace.org>
 
        * Validation.pm: Allow Description of OBSOLETE packages to contain


------------------------------------------------------------------------------
Fulfilling the Lean Software Promise
Lean software platforms are now widely adopted and the benefits have been 
demonstrated beyond question. Learn why your peers are replacing JEE 
containers with lightweight application servers - and what you can gain 
from the move. http://p.sf.net/sfu/vmware-sfemails
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to