X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2FConfig-Any.git;a=blobdiff_plain;f=Makefile.PL;h=11ce936788cb0f4db95f155e1ce0ad36eb6b73e0;hp=325a131c0b89b2284ae254db592c00182ec8eaf6;hb=3adc3480014aae487da279703125827ef0cb039e;hpb=88fedacfb8aa6bee6a8542d64ed90e549f91ffe2 diff --git a/Makefile.PL b/Makefile.PL index 325a131..11ce936 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -9,9 +9,31 @@ my %META = ( test => { requires => { 'Test::More' => 0, } }, - runtime => { requires => { - 'Module::Pluggable::Object' => '3.6', - } }, + runtime => { + requires => { + 'Module::Pluggable::Object' => '3.6', + }, + suggests => { + 'Config::General' => '2.48', + 'Config::Tiny' => 0, + 'Cpanel::JSON::XS' => 0, + 'XML::Simple' => 0, + 'XML::NamespaceSupport' => 0, + 'YAML::XS' => 0, + }, + }, + develop => { + requires => { + 'Config::General' => '2.48', + 'Config::Tiny' => 0, + 'Cpanel::JSON::XS' => 0, + 'XML::Simple' => 0, + 'XML::NamespaceSupport' => 0, + 'YAML::XS' => 0, + 'Test::Pod' => 0, + 'Test::Pod::Coverage' => 0, + }, + }, }, resources => { repository => { @@ -33,7 +55,9 @@ my %META = ( my %MM_ARGS = ( PREREQ_PM => { - (eval { require Config::General } ? ('Config::General' => '2.47') : ()), + (eval { require Config::General } ? ( + 'Config::General' => $META{prereqs}{runtime}{suggests}{'Config::General'} + ) : ()), }, );