X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2FConfig-Any.git;a=blobdiff_plain;f=Makefile.PL;h=31e214626bc43fe580b8b8ccf0d90d4525f03f28;hp=fea0aeaa3148cb7c5dfccea88c9469ead2bbad71;hb=2b645c42bc8c5c33f533f7ea97c812f1fc1636d7;hpb=d733c5b132b66af16359b072300ff2a05d84b323 diff --git a/Makefile.PL b/Makefile.PL index fea0aea..31e2146 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,4 +1,4 @@ -use inc::Module::Install 0.87; +use inc::Module::Install 0.91; if ( -e 'MANIFEST.SKIP' ) { system( 'pod2text lib/Config/Any.pm > README' ); @@ -11,7 +11,18 @@ all_from 'lib/Config/Any.pm'; requires 'Module::Pluggable' => '3.01'; +if (can_use('Config::General') && !can_use('Config::General', '2.47')) { + requires 'Config::General' => '2.47'; +} + test_requires 'Test::More'; -auto_install; +if ($Module::Install::AUTHOR) { + Meta->{values}{requires} = [ grep { + $_->[0] ne 'Config::General' + } @{ Meta->{values}{requires} } ]; +} + +resources repository => 'http://dev.catalyst.perl.org/repos/Catalyst/trunk/Config-Any/'; + WriteAll;