[Box Backup-dev] Makefile.extra?

James O'Gorman boxbackup-dev@fluffy.co.uk
Fri, 24 Feb 2006 12:35:40 +0000


I'm updating the FreeBSD port to 0.10, and to use the autoconf magic.

I'm trying to make it PREFIX-clean as much as possible, so I'm patching
some files that include hard-coded perl paths, or just the word "perl"
(i.e. changing "/usr/local/bin/perl", "/usr/bin/perl" or "perl" to
${PERL}). (If I don't do this, then it could break on the FreeBSD
package build cluster.)

When doing a 'grep -r "perl " *', I see a lot of Makefile.extras that
say "perl $(something)" - so:

a) Is Makefile.extra automatically generated? If so, which file should I
patch to change "perl" to ${PERL}?
b) If they're not automatically generated, is it safe to just patch all
these files?

James