X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FThread-Cleanup.git;a=blobdiff_plain;f=Makefile.PL;h=d54e1e08d1ff9dfd03ad7fad5c7799c8463c083a;hp=8a8edbbefa291dead2750f22fddffc9b653df578;hb=d88364af37eb10467d33930800710a6edbe0544d;hpb=bd26a4213801eb7128a884d330a57f236015ec03 diff --git a/Makefile.PL b/Makefile.PL index 8a8edbb..d54e1e0 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -6,6 +6,11 @@ use ExtUtils::MakeMaker; my $dist = 'Thread-Cleanup'; +my %PREREQ_PM = ( + 'XSLoader' => 0, + 'threads' => '1.07', +); + my %META = ( configure_requires => { 'ExtUtils::MakeMaker' => 0, @@ -14,6 +19,7 @@ my %META = ( 'ExtUtils::MakeMaker' => 0, 'Test::More' => 0, 'threads::shared' => '0.91', + %PREREQ_PM, }, dynamic_config => 0, resources => { @@ -31,10 +37,7 @@ WriteMakefile( VERSION_FROM => 'lib/Thread/Cleanup.pm', ABSTRACT_FROM => 'lib/Thread/Cleanup.pm', PL_FILES => {}, - PREREQ_PM => { - 'XSLoader' => 0, - 'threads' => '1.07', - }, + PREREQ_PM => \%PREREQ_PM, MIN_PERL_VERSION => 5.008, META_MERGE => \%META, dist => {