pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Change to nagios-base package.



* On 2014-09-29 at 18:45 BST, Dave Burgess wrote:

> ... or for that matter almost any package we install.
> 
> Anyplace that uses "/usr/local/bin/perl" or "/usr/bin/perl" should be
> modified to use:
> 
> #!/usr/bin/env perl
> 
> I've started doing this with my programs and it saves a LOT of headaches.

pkgsrc has REPLACE_PERL for this exact purpose (though it correctly
uses the full path to pkgsrc-defined perl rather than relying on
$PATH)

-- 
Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com


Home | Main Index | Thread Index | Old Index