From: Vincent Pit Date: Fri, 2 Nov 2012 01:21:01 +0000 (-0200) Subject: Add BUILD_REQUIRES to WriteMakefile() X-Git-Tag: v0.08~12 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=204e07f47c6fd76934d3a300f50a8066aa77d46b;p=perl%2Fmodules%2FScalar-Vec-Util.git Add BUILD_REQUIRES to WriteMakefile() --- diff --git a/Makefile.PL b/Makefile.PL index 1e8cc00..e087827 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -93,6 +93,14 @@ my %PREREQ_PM = ( 'base' => 0, ); +my %BUILD_REQUIRES = ( + 'Config' => 0, + 'ExtUtils::MakeMaker' => 0, + 'File::Spec' => 0, + 'Test::More' => 0, + %PREREQ_PM, +); + my %META = ( configure_requires => { 'Config' => 0, @@ -100,10 +108,7 @@ my %META = ( 'File::Spec' => 0, }, build_requires => { - 'Config' => 0, - 'ExtUtils::MakeMaker' => 0, - 'Test::More' => 0, - %PREREQ_PM, + %BUILD_REQUIRES, }, dynamic_config => 1, resources => { @@ -123,6 +128,7 @@ WriteMakefile( PL_FILES => {}, C => \@C, @DEFINES, + BUILD_REQUIRES => \%BUILD_REQUIRES, PREREQ_PM => \%PREREQ_PM, MIN_PERL_VERSION => '5.006', META_MERGE => \%META,