X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=6e5f8660f43478086deb5db569533da8b7929947;hb=e9258733254a392173a0ebd0d654496170b36791;hp=d55bb193a8eca5745ac3403705b5bfeb588dc483;hpb=5c109c5119bd5e8f02ff3eea36af71e10766256d;p=p5sagit%2Fstrictures.git diff --git a/Makefile.PL b/Makefile.PL index d55bb19..6e5f866 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -11,18 +11,43 @@ WriteMakefile( META_MERGE => { 'meta-spec' => { version => 2 }, - dynamic_config => 0, + dynamic_config => 1, resources => { # r/w: p5sagit@git.shadowcat.co.uk:strictures.git - repository => 'git://git.shadowcat.co.uk/p5sagit/strictures.git', - homepage => 'http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit/strictures.git', + repository => { + url => 'git://git.shadowcat.co.uk/p5sagit/strictures.git', + web => 'http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit/strictures.git', + type => 'git', + }, + bugtracker => { + mailto => 'bug-strictures@rt.cpan.org', + web => 'https://rt.cpan.org/Public/Dist/Display.html?Name=strictures', + }, }, - recommends => { - indirect => 0, - multidimensional => 0, - 'bareword::filehandles' => 0, + prereqs => { + runtime => { + recommends => { + indirect => 0, + multidimensional => 0, + 'bareword::filehandles' => 0, + }, + }, + configure => { + requires => { + 'ExtUtils::CBuilder' => 0, + }, + }, }, }, + + (eval { require ExtUtils::CBuilder; 1 } + and ExtUtils::CBuilder->new->have_compiler) + ? (PREREQ_PM => { + indirect => 0, + multidimensional => 0, + 'bareword::filehandles' => 0, + }) + : (), );