From: Dave Rolsky Date: Thu, 21 Aug 2008 03:10:39 +0000 (+0000) Subject: Add missing test prereqs. Also, EUMM doesn't support declaring a X-Git-Tag: 0.64_02~7 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9ea663b06187752c4948970c255a0924e201c639;p=gitmo%2FClass-MOP.git Add missing test prereqs. Also, EUMM doesn't support declaring a minimum Perl version, so just do it the hard way. --- diff --git a/Makefile.PL b/Makefile.PL index e0793f1..715ca88 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -7,6 +7,8 @@ use ExtUtils::MakeMaker; use Config qw(%Config); use File::Spec; +use 5.008; + # If undefined, try our best, if true, require XS, if false, never do # XS my $force_xs; @@ -23,13 +25,15 @@ unless ( defined $force_xs ) { } my %prereqs = ( - 'perl' => '5.008', - 'Scalar::Util' => '1.18', - 'Sub::Name' => '0.04', - 'Sub::Identify' => '0.03', - 'MRO::Compat' => '0.05', - 'Carp' => 0, - 'Devel::GlobalDestruction' => 0, + 'Scalar::Util' => '1.18', + 'Sub::Name' => '0.04', + 'Sub::Identify' => '0.03', + 'MRO::Compat' => '0.05', + 'Test::More' => '0', + 'Test::Exception' => '0', + 'File::Spec' => '0', + 'Carp' => '0', + 'Devel::GlobalDestruction' => '0', ); delete @prereqs{qw(Sub::Name Devel::GlobalDestruction)}