]> granicus.if.org Git - pgbadger/commitdiff
Fix warning on META_MERGE for ExtUtils::MakeMaker < 6.46. Thanks to Julien Rouhaud...
authorDarold Gilles <gilles@darold.net>
Mon, 6 Jan 2014 08:48:55 +0000 (09:48 +0100)
committerDarold Gilles <gilles@darold.net>
Mon, 6 Jan 2014 08:48:55 +0000 (09:48 +0100)
Makefile.PL

index f674c03237c9e1e0fbef28c8c61d947a6d28b544..f4330309f3822430fc8ff3d25136c39cb4b28f7a 100644 (file)
@@ -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(
                        },
                },
         }
+       )
 );