X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=b43340af7967ffe2d272c8f81c4d41d6746a8a7f;hb=9de3c0575dae5881780a79b80867ae983edb7cc9;hp=219d66b880deebddef447ca77c2fa106b6d3b565;hpb=6e67754aaefe06c32a1e9d5573082c18d386d3ed;p=p5sagit%2FDevel-Declare.git diff --git a/Makefile.PL b/Makefile.PL index 219d66b..b43340a 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,13 +7,20 @@ use ExtUtils::Depends; name 'Devel-Declare'; all_from 'lib/Devel/Declare.pm'; -requires 'Scalar::Util'; -requires 'B::Hooks::OP::Check' => '0.10'; -build_requires 'Test::More'; -build_requires 'Scope::Guard'; -build_requires 'B::Hooks::OP::Check' => '0.10'; -configure_requires 'ExtUtils::Depends'; -configure_requires 'B::Hooks::OP::Check' => '0.10'; +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.18'; + +# 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'; + +repository 'git://github.com/rafl/devel-declare.git'; postamble(<<'EOM'); $(OBJECT) : stolen_chunk_of_toke.c @@ -23,7 +30,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, );