avoid needing . in @INC in dev mode
[gitmo/Algorithm-C3.git] / Makefile.PL
index 6db0d23..0ba3f6d 100644 (file)
@@ -2,7 +2,7 @@ use strict;
 use warnings FATAL => 'all';
 use 5.006;
 use ExtUtils::MakeMaker;
-(do 'maint/Makefile.PL.include' or die $@) unless -f 'META.yml';
+(do './maint/Makefile.PL.include' or die $@) unless -f 'META.yml';
 
 my %BUILD_DEPS = (
   'Test::More' => 0.47,
@@ -19,6 +19,7 @@ WriteMakefile(
     'Carp' => 0.01,
     ($mymeta_works ? () : (%BUILD_DEPS)),
   },
+  MIN_PERL_VERSION => 5.006,
   $mymeta_works ? (BUILD_REQUIRES => \%BUILD_DEPS) : (),
   ($mymeta && !$mymeta_works ? (NO_MYMETA => 1) : ()),