]> git.vpit.fr Git - perl/modules/Acme-CPANAuthors-You-re_using.git/commitdiff
Add BUILD_REQUIRES to WriteMakefile()
authorVincent Pit <vince@profvince.com>
Fri, 13 Mar 2015 15:12:47 +0000 (12:12 -0300)
committerVincent Pit <vince@profvince.com>
Fri, 13 Mar 2015 15:12:47 +0000 (12:12 -0300)
Makefile.PL

index 2772d9d63636d65a6f95a970a16b8e85df0b1d4c..6a633eba52e0dbfac68a2b4b2afe667e0fb105b4 100644 (file)
@@ -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,