[HEADS UP] perl symlinks in /usr/bin will be gone

Matthias Andree matthias.andree at gmx.de
Sat Jan 29 18:40:00 PST 2005


Oliver Lehmann <lehmann at ans-netz.de> writes:

> Anton Berezin wrote:
>
>> In practical terms this will mean a one-time sweep of your scripts in
>> order to convert them, in a typical case, from #! /usr/bin/perl to
>> #! /usr/local/bin/perl.
>
> Wouldn't that break most of the 3rd party scripts out in the world?

Hardcoded paths in scripts are a mess. What if I installed Perl into
/opt/mumble on some other machine? /usr/freeware? /what/ever? Changed
$PREFIX and/or $LOCALBASE?

I'd say let the ports patch the right location at install time and if
they break after upgrading both perl and the port, they deserve no better.

-- 
Matthias Andree


More information about the freebsd-stable mailing list