Add explicit dependency on Test::More 0.89
[p5sagit/Sub-Exporter-Progressive.git] / Makefile.PL
index 5cd9f1f..9ed9552 100644 (file)
@@ -4,7 +4,12 @@ use 5.008001;
 use ExtUtils::MakeMaker;
 (do 'maint/Makefile.PL.include' or die $@) unless -f 'META.yml';
 
+my $key = eval { ExtUtils::MakeMaker->VERSION(6.56) } ? 'BUILD_REQUIRES' : 'PREREQ_PM' ;
+
 WriteMakefile(
   NAME => 'Sub-Exporter-Progressive',
   VERSION_FROM => 'lib/Sub/Exporter/Progressive.pm',
+  $key => {
+       'Test::More' => 0.89,
+  }
 );