diff --git a/Changes b/Changes index c45afda6..72f86625 100644 --- a/Changes +++ b/Changes @@ -1296,6 +1296,7 @@ Revision history for Perl extension Imager. - constify the Imager API - document Imager::Filter::Mandelbrot - convert dynfilt/flines.c to Imager::Filter::Flines +- minor changes for older perl/ExtUtils::MM ================================================================= diff --git a/Makefile.PL b/Makefile.PL index e1334f0f..e2b62372 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -163,6 +163,8 @@ exit; sub MY::postamble { + my $self = shift; + my $perl = $self->{PERLRUN} ? '$(PERLRUN)' : '$(PERL)'; ' dyntest.$(MYEXTLIB) : dynfilt/Makefile cd dynfilt && $(MAKE) $(PASTHRU) @@ -174,11 +176,11 @@ imconfig.h : Makefile.PL $(ECHO) "imconfig.h out-of-date with respect to $?" $(PERLRUN) Makefile.PL $(ECHO) "==> Your Makefile has been rebuilt - re-run your make command <==" +'.qq! +lib/Imager/APIRef.pm : \$(C_FILES) apidocs.perl + $perl apidocs.perl lib/Imager/APIRef.pm -lib/Imager/APIRef.pm : $(C_FILES) apidocs.perl - $(PERLRUN) apidocs.perl lib/Imager/APIRef.pm - -'; +!; } diff --git a/t/t66paste.t b/t/t66paste.t index b55692f0..7a369d93 100644 --- a/t/t66paste.t +++ b/t/t66paste.t @@ -1,5 +1,6 @@ #!perl -w use strict; +use lib 't'; use Test::More tests => 15; BEGIN { use_ok("Imager") } diff --git a/t/t92samples.t b/t/t92samples.t index 7ca1598b..c377be3b 100644 --- a/t/t92samples.t +++ b/t/t92samples.t @@ -1,5 +1,6 @@ #!perl -w # packaging test - make sure we included the samples in the MANIFEST +use lib 't'; use Test::More; use ExtUtils::Manifest qw(maniread);