diff options
author | H.Merijn Brand <h.m.brand@xs4all.nl> | 2018-04-19 18:41:10 +0200 |
---|---|---|
committer | H.Merijn Brand <h.m.brand@xs4all.nl> | 2018-04-19 18:41:10 +0200 |
commit | f89bdec05d54ca2f7df69c0e0f63f64a3ae5b733 (patch) | |
tree | 0cbf7eb8361eb3f12664b12498249524560f430f | |
parent | d8ad1cc375113921d81f6abf0ad29a46ddd380b1 (diff) | |
download | perl-f89bdec05d54ca2f7df69c0e0f63f64a3ae5b733.tar.gz |
META_MERGE is only supported as of EU::MM 6.46
-rw-r--r-- | dist/Devel-PPPort/Makefile.PL | 6 |
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 { |