Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Oct 2013 19:29:25 +0200
From:      Oliver Heesakkers <FreeBSD@heesakkers.info>
To:        freebsd-ports@freebsd.org
Subject:   Re: Should /usr/bin/perl be a link to /usr/local/bin/perl ?
Message-ID:  <2009160.jDFQa85PyP@pcoliver.heesakkers.info>
In-Reply-To: <52655AA1.6090304@rawbw.com>
References:  <52655AA1.6090304@rawbw.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Op ma 21 okt 2013 09:47:29 schreef Yuri:
> 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)
> 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?
> 


3b. Teach upstream to write:

#!/usr/bin/env perl



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