In order to do this, you essentially need to modify Makefile.PL, moving some code from the postamble to the constants section. The \[http://bugzilla.spamassassin.org/attachment.cgi?id=1721&action=view modified file\] is posted in \[http://bugzilla.spamassassin.org/show_bug.cgi?id=2955 bug 2955\]. |
Here's how to do it yourself:
push(@code, "PREPROCESS = \$(PERL) build/preprocessor"); my($repository); $repository = uc($SELF->{INSTALLDIRS}) || 'SITE'; foreach my $macro (qw(PREFIX SYSCONFDIR)) { push(@code, macro_def('I_' . $macro, macro_ref($repository . $macro))); } |
foreach my $macro (qw(PREFIX SYSCONFDIR)) { push(@code, macro_def('I_' . $macro, macro_ref($repository . $macro))); } |
PREPROCESS = $(PERL) build/preprocessor |
By: BretMiller