depend on Scalar::Util since we use it and older perls don't have it
authorTony Cook <tony@develop-help.com>
Fri, 14 Oct 2011 09:32:44 +0000 (20:32 +1100)
committerTony Cook <tony@develop-help.com>
Fri, 14 Oct 2011 09:32:44 +0000 (20:32 +1100)
Changes
Makefile.PL

diff --git a/Changes b/Changes
index 3496164..326689b 100644 (file)
--- a/Changes
+++ b/Changes
@@ -26,6 +26,9 @@ Bug fixes:
 
  - add extra ppport.h configuration to support older perls.
 
+ - depend on Scalar::Util, since we use it and older perls don't have
+   it.
+
 Imager 0.85_01 - 10 Oct 2011
 ==============
 
index edd8a2b..1c4b32c 100644 (file)
@@ -167,17 +167,22 @@ my @objs = qw(Imager.o draw.o polygon.o image.o io.o iolayer.o
               bmp.o tga.o color.o fills.o imgdouble.o limits.o hlines.o
               imext.o scale.o rubthru.o render.o paste.o compose.o flip.o);
 
-my %opts=(
-          'NAME'         => 'Imager',
-          'VERSION_FROM' => 'Imager.pm',
-          'LIBS'         => "$LFLAGS -lm $lib_lflags $OSLIBS $F_LIBS",
-          'DEFINE'       => "$OSDEF $CFLAGS",
-          'INC'          => "$lib_cflags $DFLAGS $F_INC",
-          'OBJECT'       => join(' ', @objs, $F_OBJECT),
-          clean          => { FILES=>'testout rubthru.c scale.c conv.c  filters.c gaussian.c render.c rubthru.c' },
-          PM             => gen_PM(),
-         PREREQ_PM      => { 'Test::More' => 0.47 },
-         );
+my %opts=
+  (
+   'NAME'         => 'Imager',
+   'VERSION_FROM' => 'Imager.pm',
+   'LIBS'         => "$LFLAGS -lm $lib_lflags $OSLIBS $F_LIBS",
+   'DEFINE'       => "$OSDEF $CFLAGS",
+   'INC'          => "$lib_cflags $DFLAGS $F_INC",
+   'OBJECT'       => join(' ', @objs, $F_OBJECT),
+   clean          => { FILES=>'testout rubthru.c scale.c conv.c  filters.c gaussian.c render.c rubthru.c' },
+   PM             => gen_PM(),
+   PREREQ_PM      =>
+   { 
+    'Test::More' => 0.47,
+    'Scalar::Util' => 1.00,
+   },
+  );
 
 if ($coverage) {
     if ($Config{gccversion}) {