From: Vincent Pit Date: Sun, 4 Oct 2009 07:52:30 +0000 (+0200) Subject: Put prerequisites in their own separate hash X-Git-Tag: v0.04~9 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=c1151a562c1a34879faa026fb49284057d0f7670;p=perl%2Fmodules%2Fautovivification.git Put prerequisites in their own separate hash --- diff --git a/Makefile.PL b/Makefile.PL index 5fbbfc2..7291560 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -15,6 +15,10 @@ if ($^O eq 'MSWin32' && $^V lt v5.9.0) { my $dist = 'autovivification'; +my %PREREQ_PM = ( + 'XSLoader' => 0, +); + my %META = ( configure_requires => { 'ExtUtils::MakeMaker' => 0, @@ -22,6 +26,7 @@ my %META = ( build_requires => { 'ExtUtils::MakeMaker' => 0, 'Test::More' => 0, + %PREREQ_PM, }, dynamic_config => 1, resources => { @@ -40,9 +45,7 @@ WriteMakefile( ABSTRACT_FROM => 'lib/autovivification.pm', PL_FILES => {}, @DEFINES, - PREREQ_PM => { - 'XSLoader' => 0, - }, + PREREQ_PM => \%PREREQ_PM, MIN_PERL_VERSION => 5.008, META_MERGE => \%META, dist => {