]> git.vpit.fr Git - perl/modules/Scope-Context.git/commitdiff
Add BUILD_REQUIRES to WriteMakefile()
authorVincent Pit <vince@profvince.com>
Mon, 5 Nov 2012 15:37:40 +0000 (13:37 -0200)
committerVincent Pit <vince@profvince.com>
Mon, 5 Nov 2012 23:58:57 +0000 (21:58 -0200)
Makefile.PL

index 13a0c2bb0d5e3fed0e3e8890cedc061364dd0bd7..f2386d908bfb5b297da79d8b8ab47ea153ce6f20 100644 (file)
@@ -16,14 +16,18 @@ my %PREREQ_PM = (
  'Scalar::Util' => 0,
 );
 
+my %BUILD_REQUIRES = (
+ 'ExtUtils::MakeMaker' => 0,
+ 'Test::More'          => 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 => {
@@ -41,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,