From: Graham Knop Date: Wed, 15 Jan 2014 17:52:57 +0000 (-0500) Subject: always provide BUILD_REQUIRES and TEST_REQUIRES to EUMM X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2Flocal-lib.git;a=commitdiff_plain;h=a9b2fc02f563fd7812120cca1cf2dc8f59c3131e always provide BUILD_REQUIRES and TEST_REQUIRES to EUMM If BUILD_REQUIRES isn't provided, EUMM adds itself to build_requires as version 0, which can confuse CPAN.pm. --- diff --git a/Makefile.PL b/Makefile.PL index e993dca..7c122e3 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -309,8 +309,8 @@ WriteMakefile( PREREQ_PM => { %RUN_DEPS, }, - keys %BUILD_DEPS ? ( BUILD_REQUIRES => \%BUILD_DEPS ) : (), - keys %TEST_DEPS ? ( TEST_REQUIRES => \%TEST_DEPS ) : (), + BUILD_REQUIRES => \%BUILD_DEPS, + TEST_REQUIRES => \%TEST_DEPS, META_ADD => \%extra_info, META_MERGE => { no_index => {