]> git.vpit.fr Git - perl/modules/Variable-Temp.git/commitdiff
Add BUILD_REQUIRES to WriteMakefile()
authorVincent Pit <vince@profvince.com>
Fri, 13 Mar 2015 19:07:49 +0000 (16:07 -0300)
committerVincent Pit <vince@profvince.com>
Fri, 13 Mar 2015 19:09:25 +0000 (16:09 -0300)
Makefile.PL

index 31cc6b1984f479ea2961a14d04c5c8f4f8540b7b..93f9b639a02afa770e07ce1db754759924003099 100644 (file)
@@ -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,