From: Matt S Trout Date: Wed, 22 May 2013 18:07:36 +0000 (+0000) Subject: mark build deps as build_requires X-Git-Tag: v1.000000~5 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8abc9d15f189e4e91a62f6ddd28e6884e6e9d016;p=p5sagit%2FJSON-MaybeXS.git mark build deps as build_requires --- diff --git a/Makefile.PL b/Makefile.PL index c8158d3..18e3709 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -4,16 +4,22 @@ use 5.008001; use ExtUtils::MakeMaker; (do 'maint/Makefile.PL.include' or die $@) unless -f 'META.yml'; +my %BUILD_DEPS = ( + 'Test::Without::Module' => '0.17', + 'Test::More' => '0.88' +); + WriteMakefile( NAME => 'JSON::MaybeXS', VERSION_FROM => 'lib/JSON/MaybeXS.pm', PREREQ_PM => { 'JSON::PP' => '2.27202', - 'Test::Without::Module' => '0.17', (can_xs() ? ('Cpanel::JSON::XS' => '2.3310') - : ()) + : ()), + %BUILD_DEPS, }, + BUILD_REQUIRES => \%BUILD_DEPS, ); # can we locate a (the) C compiler