]> git.vpit.fr Git - perl/modules/LaTeX-TikZ.git/commitdiff
Add BUILD_REQUIRES to WriteMakefile()
authorVincent Pit <vince@profvince.com>
Thu, 23 Apr 2015 00:09:23 +0000 (21:09 -0300)
committerVincent Pit <vince@profvince.com>
Thu, 23 Apr 2015 00:09:23 +0000 (21:09 -0300)
Makefile.PL

index a7ef8d338d860f2ecce0881930b07573c0903f3c..abd2802c9de0f4df4a61d522adab19de55f8e616 100644 (file)
@@ -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,