From: Vincent Pit Date: Sun, 4 Oct 2009 07:36:55 +0000 (+0200) Subject: Put prerequisites in their own separate hash X-Git-Tag: v0.09~24 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=6943ca755b97dd62ceb0485d56b9740be69bf356;p=perl%2Fmodules%2FCPANPLUS-Dist-Gentoo.git Put prerequisites in their own separate hash --- diff --git a/Makefile.PL b/Makefile.PL index 136c020..9011218 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -6,6 +6,19 @@ use ExtUtils::MakeMaker; my $dist = 'CPANPLUS-Dist-Gentoo'; +my %PREREQ_PM = ( + 'Carp' => 0, + 'CPANPLUS' => 0, + 'Cwd' => 0, + 'List::Util' => 0, + 'File::Copy' => 0, + 'File::Path' => 0, + 'File::Spec' => 0, + 'IPC::Cmd' => 0, + 'Parse::CPAN::Meta' => 0, + 'base' => 0, +); + my %META = ( configure_requires => { 'ExtUtils::MakeMaker' => 0, @@ -13,6 +26,7 @@ my %META = ( build_requires => { 'ExtUtils::MakeMaker' => 0, 'Test::More' => 0, + %PREREQ_PM, }, dynamic_config => 0, resources => { @@ -30,18 +44,7 @@ WriteMakefile( VERSION_FROM => 'lib/CPANPLUS/Dist/Gentoo.pm', ABSTRACT_FROM => 'lib/CPANPLUS/Dist/Gentoo.pm', PL_FILES => {}, - PREREQ_PM => { - 'Carp' => 0, - 'CPANPLUS' => 0, - 'Cwd' => 0, - 'List::Util' => 0, - 'File::Copy' => 0, - 'File::Path' => 0, - 'File::Spec' => 0, - 'IPC::Cmd' => 0, - 'Parse::CPAN::Meta' => 0, - 'base' => 0, - }, + PREREQ_PM => \%PREREQ_PM, MIN_PERL_VERSION => 5.006, META_MERGE => \%META, dist => {