Index: Makefile.PL =================================================================== RCS file: /cvsroot/spamassassin/spamassassin/Makefile.PL,v retrieving revision 1.119 diff -u -d -b -B -r1.119 Makefile.PL --- Makefile.PL 15 Oct 2003 16:01:40 -0000 1.119 +++ Makefile.PL 4 Dec 2003 13:14:13 -0000 @@ -847,14 +847,7 @@ } } - clean_MY_globals($self); - return join("\n", @code); -} - -sub MY::postamble { - my $self = shift; - my @code = (); - init_MY_globals($self); + push(@code, "PREPROCESS = \$(PERL) build/preprocessor"); my($repository); $repository = uc($SELF->{INSTALLDIRS}) || 'SITE'; @@ -876,12 +869,16 @@ } } - my $code = join("\n", @code); - @code = (); # free mem + clean_MY_globals($self); + return join("\n", @code); +} - $code .= <<' EOD'; +sub MY::postamble { + my $self = shift; + my @code = (); + init_MY_globals($self); -PREPROCESS = $(PERL) build/preprocessor + my $code .= <<' EOD'; FIXVARS = -Mvars \ -DVERSION="$(VERSION)" \