From: Vincent Pit Date: Thu, 23 Apr 2015 00:09:23 +0000 (-0300) Subject: Add BUILD_REQUIRES to WriteMakefile() X-Git-Tag: v0.03~1 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=cbaf3acd8a347d8bfe064f7b3539f20f20aca88f;p=perl%2Fmodules%2FLaTeX-TikZ.git Add BUILD_REQUIRES to WriteMakefile() --- diff --git a/Makefile.PL b/Makefile.PL index a7ef8d3..abd2802 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -23,14 +23,19 @@ my %PREREQ_PM = ( 'constant' => 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, - 'Test::More' => 0, - %PREREQ_PM, + %BUILD_REQUIRES, }, dynamic_config => 0, resources => { @@ -48,6 +53,7 @@ WriteMakefile( VERSION_FROM => $file, ABSTRACT_FROM => $file, PL_FILES => {}, + BUILD_REQUIRES => \%BUILD_REQUIRES, PREREQ_PM => \%PREREQ_PM, MIN_PERL_VERSION => '5.008', META_MERGE => \%META,