From: Darold Gilles Date: Mon, 6 Jan 2014 08:48:55 +0000 (+0100) Subject: Fix warning on META_MERGE for ExtUtils::MakeMaker < 6.46. Thanks to Julien Rouhaud... X-Git-Tag: v5.0~25 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cbcad2afc34c50e47e3e9af5a2987b438bd09b67;p=pgbadger Fix warning on META_MERGE for ExtUtils::MakeMaker < 6.46. Thanks to Julien Rouhaud for the patch. --- diff --git a/Makefile.PL b/Makefile.PL index f674c03..f433030 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -34,7 +34,7 @@ WriteMakefile( 'DESTDIR' => $DESTDIR, 'INSTALLDIRS' => $INSTALLDIRS, 'clean' => {}, - 'META_MERGE' => { + ($ExtUtils::MakeMaker::VERSION < 6.46 ? () : 'META_MERGE' => { resources => { homepage => 'http://projects.dalibo.org/pgbadger', repository => { @@ -44,5 +44,6 @@ WriteMakefile( }, }, } + ) );