> On Jul 29, 2016, at 06:54, isb...@verizon.net wrote:
> 
> Thanks Alexander,
> 
> I was meaning to weigh in on Fink 10.12. I was able to make minor changes to 
> the bootstrap routines and successfully built a distribution under Sierra 
> Public Beta #2.
> 
> One key point was to NOT ask to download binary distributions (since 10.12 
> doesn't exist on the mirrors yet).
> 
> Unfortunately, when I try to build new packages, I'm encountering errors with 
> autoconf (aclocal.m4) and objtool. Haven't figured that out yet.
> 
> But here are the diffs to make bootstrap work on 10.12:
> 
> diff postinstall.pl.in fink-0.39.3/postinstall.pl.in 
> 261c261
> < if ( $distribution eq "10.9" or $distribution eq "10.10" or $distribution 
> eq "10.11" or $distribution eq "10.12"
> ---
> > if ( $distribution eq "10.9" or $distribution eq "10.10" or $distribution 
> > eq "10.11"
> 
> 
> diff REVISION ../fink-0.39.3/REVISION 
> 4d3
> < 10.12: 111
> 
> 
> diff Bootstrap.pm ../fink-0.39.3/perlmod/Fink/Bootstrap.pm 
> 230,235d229
> <     } elsif ($host =~ /^i386-apple-darwin16\./) {
> <             &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.12";
> 1061d1054
> <             "10.12" => "10.9-libcxx",
> 
> 
> diff FinkVersion.pm.in  ../fink-0.39.3/perlmod/Fink/FinkVersion.pm.in
> 121d120
> <                                     "10.12/x86_64" => "0.16.0",
> 
> 
> diff PkgVersion.pm fink-0.39.3/perlmod/Fink/PkgVersion.pm 
> 5403,5406d5402
> <                     } elsif ($perlversion eq  "5.18.2" and 
> Fink::Services::get_kernel_vers() eq '16') {
> <                             # 10.12 system-perl is 5.18.2, but the only 
> supplied
> <                             # interpreter is /usr/bin/perl5.18 (not 
> perl5.18.2)
> <                             $perlcmd = "/usr/bin/arch -%m perl5.18";
> 
> 
> diff Services.pm fink-0.39.3/perlmod/Fink/Services.pm
> 1319,1320c1319
> <             '10.11' => '4.2',
> <             '10.12' => '4.2',
> ---
> >             '10.11' => '4.2'
> 
> 
> diff VirtPackage.pm fink-0.39.3/perlmod/Fink/VirtPackage.pm
> 916,919d915
> <     } elsif ($osxversion == 16) {
> <             @SDKDIRS=qw(
> <                     MacOSX10.12.sdk
> <             );
> 

Thanks for the contribution!  I just created a “sierra-alpha-bravo” branch on 
github for 10.12-related fink development based on these changes.

-- 
Alexander Hansen, Ph.D.
Fink User Liaison

------------------------------------------------------------------------------
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to