From: Vincent Pit Date: Sun, 4 Oct 2009 07:55:27 +0000 (+0200) Subject: Put prerequisites in their own separate hash X-Git-Tag: rt66996~9 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=b5378e65f98ee69e6f8940a44976f858b6150664;p=perl%2Fmodules%2Fre-engine-Plugin.git Put prerequisites in their own separate hash --- diff --git a/Makefile.PL b/Makefile.PL index 82880db..2778745 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -3,6 +3,10 @@ use ExtUtils::MakeMaker; my $dist = 're-engine-Plugin'; +my %PREREQ_PM = ( + 'XSLoader' => 0, +); + my %META = ( configure_requires => { 'ExtUtils::MakeMaker' => 0, @@ -10,6 +14,7 @@ my %META = ( build_requires => { 'ExtUtils::MakeMaker' => 0, 'Test::More' => 0, + %PREREQ_PM, }, dynamic_config => 0, resources => { @@ -27,9 +32,7 @@ WriteMakefile( ABSTRACT_FROM => 'Plugin.pod', VERSION_FROM => 'Plugin.pm', PL_FILES => {}, - PREREQ_PM => { - 'XSLoader' => 0, - }, + PREREQ_PM => \%PREREQ_PM, MIN_PERL_VERSION => 5.010, META_MERGE => \%META, dist => {