X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2Fsubs-auto.git;a=blobdiff_plain;f=Makefile.PL;h=96ef2564bd0e090be38d649ed57ec2dac0c625d4;hp=23c7b1e733a4a2a89a985fee861da619634736f4;hb=e75c64d7d6ffe63f58d5284671bf22f73acd0a1a;hpb=256a9c812fb8e5df57568d5e1ad04a0756d9b5b8 diff --git a/Makefile.PL b/Makefile.PL index 23c7b1e..96ef256 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -6,6 +6,12 @@ use ExtUtils::MakeMaker; my $dist = 'subs-auto'; +my %PREREQ_PM = ( + 'Carp' => 0, + 'Symbol' => 0, + 'Variable::Magic' => '0.08', +); + my %META = ( configure_requires => { 'ExtUtils::MakeMaker' => 0, @@ -13,6 +19,7 @@ my %META = ( build_requires => { 'ExtUtils::MakeMaker' => 0, 'Test::More' => 0, + %PREREQ_PM, }, dynamic_config => 0, resources => { @@ -30,11 +37,7 @@ WriteMakefile( VERSION_FROM => 'lib/subs/auto.pm', ABSTRACT_FROM => 'lib/subs/auto.pm', PL_FILES => {}, - PREREQ_PM => { - 'Carp' => 0, - 'Symbol' => 0, - 'Variable::Magic' => 0.08 - }, + PREREQ_PM => \%PREREQ_PM, MIN_PERL_VERSION => 5.010, META_MERGE => \%META, dist => {