[Box Backup-dev] Makefile.extra?

James O'Gorman boxbackup-dev at fluffy.co.uk
Fri Feb 24 12:46:31 GMT 2006


Ben Summers wrote:
> 
> On 24 Feb 2006, at 12:35, James O'Gorman wrote:
>> a) Is Makefile.extra automatically generated? If so, which file should I
>> patch to change "perl" to ${PERL}?
> 
> No, it's part of the distribution.

OK, thanks.

>> b) If they're not automatically generated, is it safe to just patch all
>> these files?
> 
> Yes.
> 
> What should we do for the next release to tidy this up?

One thing I did notice was some inconsistency - sometimes "perl" was 
used, sometimes "/usr/bin/perl", sometimes "/usr/local/bin/perl".

I think on the whole, /usr/bin/perl is the safest to use, but either way 
I am still required to make the FreeBSD port "PREFIX-clean" if possible. 
So if someone decided to put perl in an obscure place, they can change 
their PREFIX and PERL variables in /etc/make.conf and in theory the port 
should respect that. The pointyhat build cluster tends to moan if files 
are installed outside of PREFIX, which means I get emails from portmgr 
telling me to fix it :-)

Does OpenBSD include perl in the base system? FreeBSD used to, but it is 
now a port, but it creates a symlink from /usr/local/bin/perl (or 
wherever perl was installed) to /usr/bin/perl.

I'm pretty sure most/all Linux distros install perl to /usr/bin/perl too?

James



More information about the Boxbackup-dev mailing list