Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Aug 2015 16:36:18 -0700
From:      "Roger Marquis" <marquis@roble.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: Perl 5.20 breaks /usr/bin/perl
In-Reply-To: <B1F5C46CD42C2B71A771C2FE@atuin.in.mat.cc>
References:  <55CF9848.3050302@groumpf.org> <B1F5C46CD42C2B71A771C2FE@atuin.in.mat.cc>

| previous in thread | raw e-mail | index | archive | help
> Yes, it does not create a /usr/bin/perl symlink, starting with Perl 5.20.

I'm curious about the logic behind this (automatic symlink removal without a
large warning message)?  It would seem to come with a high cost and little
(any?) benefit.  Shouldn't this at least be a dialog option?

> If you still need one, and are not using some common shebang, like
> /usr/local/bin/perl, which still works, or /usr/bin/env perl, which also
> still works, create one yourself.

/usr/bin/env may or may not work depending on the PATH it inherits.  A symlink
to /usr/bin would be best practice considering how many perl scripts specify
this path, how many FreeBSD end-users are likely to be negatively impacted,
how few might be positively impacted, and how it's removal will make it that
much harder to advocate for FreeBSD's otherwise good cross-platform and
cross-version compatibility.

Roger




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