Should /usr/bin/perl be a link to /usr/local/bin/perl ?

Freddie Cash fjwcash at gmail.com
Mon Oct 21 16:54:38 UTC 2013


On Mon, Oct 21, 2013 at 9:47 AM, Yuri <yuri at rawbw.com> wrote:

> I found that many ports specify /usr/bin/perl as an interpreter. This
> comes from Linux. Examples: valgrind-snapshot, windowmaker, enscript-a4,
> a2ps, svgalib
> /usr/bin/perl isn't installed by perl port.
>
> There are several solutions, in the order of increasing complexity of
> solution:
> 1. Install the link /usr/bin/perl (hackish, but it will fix many broken
> ports in one shot)
>

​That's already there.  A least on all my FreeBSD machines (9.0, 9.1,
9-STABLE, 10-CURRENT).  I believe that's the default for the perl ports and
you have to manually uncheck that option when building the port to break
things.​



> 2. Make a package scripts check for interpreter and break the install of
> offending packages
> 3. Fix all offending packages
>
> Which solution should be preferred in your opinion?
>
> Yuri
> ______________________________**_________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/**mailman/listinfo/freebsd-ports<http://lists.freebsd.org/mailman/listinfo/freebsd-ports>
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@**freebsd.org<freebsd-ports-unsubscribe at freebsd.org>
> "
>



-- 
Freddie Cash
fjwcash at gmail.com


More information about the freebsd-ports mailing list