X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=0fc1ac63f96fdcc2db13b1826b3f6e201c20f253;hb=c7fa6ac81cadd56e406b83997657e9640fbf3dda;hp=2a35240bf998d6d1880b3782170827830ce343c8;hpb=c20d749661f313772b7a3fd6b2723831327eeaad;p=p5sagit%2FDevel-Declare.git diff --git a/Makefile.PL b/Makefile.PL index 2a35240..0fc1ac6 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,4 +1,4 @@ -use inc::Module::Install 0.67; +use inc::Module::Install 0.91; use 5.008001; @@ -7,15 +7,18 @@ use ExtUtils::Depends; name 'Devel-Declare'; all_from 'lib/Devel/Declare.pm'; -requires 'Scalar::Util'; -requires 'B::Hooks::OP::Check' => '0.10'; -requires 'B::Hooks::EndOfScope'; +requires 'Scalar::Util' => 1.11; # set_prototype appeared in this version +requires 'B::Hooks::OP::Check' => '0.18'; +requires 'B::Hooks::EndOfScope' => '0.05'; requires 'Sub::Name'; -build_requires 'B::Hooks::OP::Check' => '0.10'; +build_requires 'B::Hooks::OP::Check' => '0.18'; -configure_requires 'ExtUtils::Depends'; -configure_requires 'B::Hooks::OP::Check' => '0.10'; +# minimum version that works on Win32+gcc +configure_requires 'ExtUtils::Depends' => 0.302; + +# minimum version that depends on ExtUtils::Depends 0.302 +configure_requires 'B::Hooks::OP::Check' => '0.18'; postamble(<<'EOM'); $(OBJECT) : stolen_chunk_of_toke.c @@ -25,7 +28,7 @@ my $pkg = ExtUtils::Depends->new('Devel::Declare', 'B::Hooks::OP::Check'); WriteMakefile( dist => { - PREOP => 'pod2text lib/Devel/Declare.pm >$(DISTVNAME)/README' + PREOP => 'pod2text lib/Devel/Declare.pm >README' }, $pkg->get_makefile_vars, );