Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Jan 2005 03:39:51 +0100
From:      Matthias Andree <matthias.andree@gmx.de>
To:        Oliver Lehmann <lehmann@ans-netz.de>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: [HEADS UP] perl symlinks in /usr/bin will be gone
Message-ID:  <m3fz0jtzbc.fsf@merlin.emma.line.org>
In-Reply-To: <20050129220905.46ab86ae.lehmann@ans-netz.de> (Oliver Lehmann's message of "Sat, 29 Jan 2005 22:09:05 %2B0100")
References:  <20050129202425.GA56998@heechee.tobez.org> <20050129220905.46ab86ae.lehmann@ans-netz.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Oliver Lehmann <lehmann@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m3fz0jtzbc.fsf>