]> git.imager.perl.org - imager.git/commitdiff
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 3496164e6849628312383386ec248965beb6730b..326689b0e5ef7c065aca6c9d34ebc226ecb8363c 100644 (file)
--- a/Changes
+++ b/Changes
@@ -26,6 +26,9 @@ Bug fixes:
 
  - add extra ppport.h configuration to support older perls.
 
 
  - 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
 ==============
 
 Imager 0.85_01 - 10 Oct 2011
 ==============
 
index edd8a2beacc72bd5cc1be7141a59928cda8592a5..1c4b32c8b62dbdf879104dbc877a5c10bea085ec 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);
 
               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}) {
 
 if ($coverage) {
     if ($Config{gccversion}) {