On 1/17/15 1:52 PM, Lukas Wunner wrote:
> Hi Alexander,
>
> thanks for taking the time to review this. Basically I just did
> it to give my machine a new lease of life, but if there's interest
> to ship this in one way or another I'll be happy to make any
> modifications you deem necessary.
>
>
>> 2) The section starting with "# user-defined environment variables may
>> override a package-specific or fink-default value" seems completely contrary
>> to our intentions.  We *deliberately* don't want user variables to modify
>> anything in a build.
>
> Yes, that's a quick and dirty patch I did back in 2007 and which lives
> in a separate commit. I shall prepare a new fink-10.4.patch sans that
> commit. Personally I use that functionality all the time because on
> this memory-challenged machine (maxed out at 1 GB) it's useful
> to selectively disable debugging symbols, strip executables and
> libraries or enable Altivec optimizations, without having to change
> .info files all the time. E.g. I was able to reduce the footprint
> of wireshark by > 50% that way.
>
>
>> Rather than symlinking to /usr/bin/perl, what might be better would be to
>> have fink-10.4 Depend on perl5182-core, and to modify All of its its scripts
>> to use %p/bin/perl5.18.2 via a PatchScript.
>
> How about changing "#!/usr/bin/perl" to "#!/usr/bin/env perl" in
> /sw/bin/fink and the other scripts? The user invoking fink will
> have sourced /sw/bin/init.sh so that /sw/bin is at the beginning
> of $PATH, and this will automatically select /sw/bin/perl.
>
>
> Best regards,
>
> Lukas
>

On problem with "#!/usr/bin/env perl" is that every Fink perl5XY package 
(not perl5XY-core) has a /sw/bin/perl , and so it might be possible to 
have a /sw/bin/perl version which isn't compatible with the current fink 
code (I don't recall what versions we have on 10.4, though).

-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
fink-core mailing list
fink-core@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.core
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-core

Reply via email to