From: Vincent Pit Date: Fri, 13 Mar 2015 19:07:49 +0000 (-0300) Subject: Add BUILD_REQUIRES to WriteMakefile() X-Git-Tag: v0.02~8 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;ds=sidebyside;h=4e16d31366a5659d17e1962fcf1a3507601e22b1;hp=553f9a1671d2e7d218a17eff743faae54b80aaa1;p=perl%2Fmodules%2FVariable-Temp.git Add BUILD_REQUIRES to WriteMakefile() --- diff --git a/Makefile.PL b/Makefile.PL index 31cc6b1..93f9b63 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -18,13 +18,19 @@ my %PREREQ_PM = ( 'base' => 0, ); +my %BUILD_REQUIRES = ( + 'ExtUtils::MakeMaker' => 0, + 'Test::More' => 0, + 'lib' => 0, + %PREREQ_PM, +); + my %META = ( configure_requires => { 'ExtUtils::MakeMaker' => 0, }, build_requires => { - 'ExtUtils::MakeMaker' => 0, - %PREREQ_PM, + %BUILD_REQUIRES, }, dynamic_config => 0, resources => { @@ -42,6 +48,7 @@ WriteMakefile( VERSION_FROM => $file, ABSTRACT_FROM => $file, PL_FILES => {}, + BUILD_REQUIRES => \%BUILD_REQUIRES, PREREQ_PM => \%PREREQ_PM, MIN_PERL_VERSION => '5.006', META_MERGE => \%META,