From: Vincent Pit Date: Fri, 13 Mar 2015 15:12:47 +0000 (-0300) Subject: Add BUILD_REQUIRES to WriteMakefile() X-Git-Tag: v0.07~3 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=f67d89c1a9fdd4e0192f51f667d4012d1e83a161;p=perl%2Fmodules%2FAcme-CPANAuthors-You-re_using.git Add BUILD_REQUIRES to WriteMakefile() --- diff --git a/Makefile.PL b/Makefile.PL index 2772d9d..6a633eb 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -15,14 +15,19 @@ my %PREREQ_PM = ( 'Module::Metadata' => '1.000005', ); +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, - 'Test::More' => 0, - %PREREQ_PM, + %BUILD_REQUIRES, }, dynamic_config => 0, resources => { @@ -40,6 +45,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,