X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FVariable-Temp.git;a=blobdiff_plain;f=Makefile.PL;h=3391e24f7362ba0ce82f06d4828c55cb2b881397;hp=31cc6b1984f479ea2961a14d04c5c8f4f8540b7b;hb=74f10ab295009c4fb93ccf989d4ed442d15479d3;hpb=325778545db343888e4f002fd170c4eb557fdaa5 diff --git a/Makefile.PL b/Makefile.PL index 31cc6b1..3391e24 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -12,10 +12,18 @@ my $dist = 'Variable-Temp'; $file = "lib/$file.pm"; my %PREREQ_PM = ( - 'Exporter' => 0, - 'Scope::Upper' => 0, - 'Test::More' => 0, - 'base' => 0, + 'Exporter' => 0, + 'Scope::Upper' => 0, + 'Test::More' => 0, + 'Variable::Magic' => '0.51', + 'base' => 0, +); + +my %BUILD_REQUIRES = ( + 'ExtUtils::MakeMaker' => 0, + 'Test::More' => 0, + 'lib' => 0, + %PREREQ_PM, ); my %META = ( @@ -23,8 +31,7 @@ my %META = ( 'ExtUtils::MakeMaker' => 0, }, build_requires => { - 'ExtUtils::MakeMaker' => 0, - %PREREQ_PM, + %BUILD_REQUIRES, }, dynamic_config => 0, resources => { @@ -42,6 +49,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,