summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.Merijn Brand <h.m.brand@xs4all.nl>2018-04-19 18:41:10 +0200
committerH.Merijn Brand <h.m.brand@xs4all.nl>2018-04-19 18:41:10 +0200
commitf89bdec05d54ca2f7df69c0e0f63f64a3ae5b733 (patch)
tree0cbf7eb8361eb3f12664b12498249524560f430f
parentd8ad1cc375113921d81f6abf0ad29a46ddd380b1 (diff)
downloadperl-f89bdec05d54ca2f7df69c0e0f63f64a3ae5b733.tar.gz
META_MERGE is only supported as of EU::MM 6.46
-rw-r--r--dist/Devel-PPPort/Makefile.PL6
1 files changed, 5 insertions, 1 deletions
diff --git a/dist/Devel-PPPort/Makefile.PL b/dist/Devel-PPPort/Makefile.PL
index 6bd51405a6..161f97c614 100644
--- a/dist/Devel-PPPort/Makefile.PL
+++ b/dist/Devel-PPPort/Makefile.PL
@@ -26,7 +26,7 @@ unless ($ENV{'PERL_CORE'}) {
@ARGV = map { /^--with-(apicheck)$/ && ++$opt{$1} ? () : $_ } @ARGV;
-WriteMakefile(
+my %mf = (
NAME => 'Devel::PPPort',
VERSION_FROM => 'PPPort_pm.PL',
PM => { 'PPPort.pm' => '$(INST_LIBDIR)/PPPort.pm' },
@@ -50,6 +50,10 @@ WriteMakefile(
},
},
);
+my $eumm_version = $ExtUtils::MakeMaker::VERSION;
+$eumm_version = eval $eumm_version;
+delete $mf{META_MERGE} if $eumm_version < 6.46;
+WriteMakefile(%mf);
sub configure
{