Permalink
Browse files

- minor changes for older perl/ExtUtils::MM

  • Loading branch information...
Tony Cook
Tony Cook committed Jan 13, 2006
1 parent 8866668 commit 5a7e62b6ef72a323cb8e7ae48bfb05d97f99aed2
Showing with 9 additions and 4 deletions.
  1. +1 −0 Changes
  2. +6 −4 Makefile.PL
  3. +1 −0 t/t66paste.t
  4. +1 −0 t/t92samples.t
View
@@ -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
=================================================================
View
@@ -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
-
-';
+!;
}
View
@@ -1,5 +1,6 @@
#!perl -w
use strict;
+use lib 't';
use Test::More tests => 15;
BEGIN { use_ok("Imager") }
View
@@ -1,5 +1,6 @@
#!perl -w
# packaging test - make sure we included the samples in the MANIFEST <sigh>
+use lib 't';
use Test::More;
use ExtUtils::Manifest qw(maniread);

0 comments on commit 5a7e62b

Please sign in to comment.