-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/15/09 11:46 AM, Viv Kendon wrote:
> On Tue, 15 Dec 2009, David R. Morrison wrote:
> 
>> It's possible that you'll need to add a default value (perhaps
>> 0.10.0?) for the binary distribution version number in the function
>> default_binary_version in /sw/lib/perl5/Fink/FinkVersion.pm .
>>
>>   -- Dave
> 
> I'm willing to try, but as someone who doesn't speak perl, 
> could I have more precise instructions?  I presume I change 
> this:
> 
> sub default_binary_version {
>          my $distribution = shift;
>          my $architecture = get_arch();
>          my %bindists = ("10.2-gcc3.3/powerpc" => "0.6.4", 
> "10.3/powerpc" => "0.7
> .2", "10.4-transitional/powerpc" => "0.8.0", "10.4/powerpc" 
> => "0.8.1", "10.4/i3
> 86" => "0.8.1", "10.5/powerpc" => "0.9.0", "10.5/i386" => 
> "0.9.0");
>          return $bindists{"$distribution/$architecture"};
> }
> 
> but what is the right way to change it?
> 
> many thanks,
> -- Viv

I'll reformat the indentation.  I believe this is right:

my %bindists = (
        "10.2-gcc3.3/powerpc" => "0.6.4",
        "10.3/powerpc" => "0.7.2",
        "10.4-transitional/powerpc" => "0.8.0",
        "10.4/powerpc" > => "0.8.1",
        "10.4/i386" => "0.8.1",
        "10.5/powerpc" => "0.9.0",
        "10.5/i386" => "0.9.0",
        "10.6/i386" => "0.10.0",
        "10.6/x86_64" => "0.10.0"
);


- -- 
Alexander Hansen
Fink User Liaison
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAksnwTkACgkQB8UpO3rKjQ+vTwCgjzyffr7JJTrVyWgAkCFEu6Am
RO0AoKhQrEsWyQKdXsyNvN2rIKauUcSi
=S8RQ
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers 
 
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to