X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=27d6a21ab25518cd8325f83042cdfbcc838d664f;hb=d1fb38f211f41ff3dc2c078b32d25a3de07d5af3;hp=e34050dbb4037e837e9e47475c0628c5959e3406;hpb=754bf3a2a63513e9cbdbaa0fa819f331e9bdaf47;p=p5sagit%2Fstrictures.git diff --git a/Makefile.PL b/Makefile.PL index e34050d..27d6a21 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,11 +1,11 @@ use strict; use warnings FATAL => 'all'; use 5.006; +require "inc/ExtUtils/HasCompiler.pm"; my $have_compiler = ! parse_args()->{PUREPERL_ONLY} - && eval { require ExtUtils::CBuilder; 1 } - && ExtUtils::CBuilder->new->have_compiler; + && ExtUtils::HasCompiler::can_compile_loadable_object(quiet => 1); my %extra_prereqs = ( indirect => 0, @@ -26,11 +26,14 @@ my %META = ( requires => { perl => '5.006', }, - recommends => { + suggests => { %extra_prereqs, }, }, develop => { requires => { + 'Test::Pod' => 0, + 'Test::Pod::Coverage' => 0, + 'Pod::Coverage::CountParents' => 0, %extra_prereqs, } }, }, @@ -48,7 +51,7 @@ my %META = ( license => [ 'http://dev.perl.org/licenses/' ], }, no_index => { - directory => [ 't', 'xt' ] + directory => [ 't', 'xt', 'inc' ] }, );