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=ada29a793c11904adc02037f1ee4cdc17b985ba7;hb=e3c5f84b28bcbbf9b2c7dadde2c3278d72fa6ae4;hpb=7adf5673d07031b77f7edd3403491512b9a48cb3 diff --git a/Makefile.PL b/Makefile.PL index ada29a7..31e2146 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -11,8 +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'; +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;