Skip to content

Commit

Permalink
Added MIN_PERL_VERSION.
Browse files Browse the repository at this point in the history
  • Loading branch information
davorg committed Sep 5, 2017
1 parent a86be28 commit 864c67b
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion Makefile.PL
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
use ExtUtils::MakeMaker;

my $mm_ver = $ExtUtils::MakeMaker::VERSION;
if ($mm_ver =~ /_/) { # developer release/version
$mm_ver = eval $mm_ver;
die $@ if $@;
}

WriteMakefile(
NAME => 'App::Aphra',
VERSION_FROM => 'lib/App/Aphra.pm',
Expand All @@ -23,5 +29,9 @@ WriteMakefile(
web => 'https://github.com/davorg/app-aphra',
},
},
}
},
($mm_ver >= 6.48
? (MIN_PERL_VERSION => 5.006)
: ()
),
);

0 comments on commit 864c67b

Please sign in to comment.