X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=ee99c6a4c70c7ae77310677ad853505c2636ee86;hb=89efebad76a19d337169424185e240a2301a1f53;hp=efc983e5eae6459d82e8e06ed671b5fc0ab23f86;hpb=aaccce0cce545c596f87441f0bec81b31639150c;p=p5sagit%2FDevel-GlobalDestruction.git diff --git a/Makefile.PL b/Makefile.PL index efc983e..ee99c6a 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,7 +1,7 @@ use strict; use warnings; -require 5.006000; +require 5.006; use ExtUtils::MakeMaker; BEGIN { if ( $^O eq 'cygwin' ) { @@ -25,7 +25,11 @@ my $mymeta = $mymeta_works || eval { ExtUtils::MakeMaker->VERSION('6.5702'); 1 } my %META_BITS = ( ); my %RUN_DEPS = ( - 'Sub::Exporter::Progressive' => 0.001002, + 'Sub::Exporter::Progressive' => '0.001006', + ( (defined ${^GLOBAL_PHASE} or !can_xs() ) + ? () + : ('Devel::GlobalDestruction::XS' => 0) + ), ); my %WriteMakefileArgs = ( @@ -34,7 +38,7 @@ my %WriteMakefileArgs = ( LICENSE => 'perl', INSTALLDIRS => 'site', PL_FILES => { }, - MIN_PERL_VERSION => '5.006000', + MIN_PERL_VERSION => '5.006', PREREQ_PM => \%RUN_DEPS, CONFIGURE_REQUIRES => { 'ExtUtils::CBuilder' => 0.27 }, META_ADD => { @@ -46,10 +50,6 @@ my %WriteMakefileArgs = ( requires => \%RUN_DEPS, }, ($mymeta and !$mymeta_works) ? ( 'NO_MYMETA' => 1 ) : (), - ( (defined ${^GLOBAL_PHASE} or !can_xs() ) - ? (XS => {}, C => []) - : () - ), ); unless ( eval { ExtUtils::MakeMaker->VERSION('6.56') } ) {