From: Alexandr Ciornii Date: Thu, 7 Feb 2013 11:05:21 +0000 (+0200) Subject: h2xs: remove useless compatibility code (VERSION_FROM requires EU::MM from perl 5.5) X-Git-Tag: upstream/5.20.0~2961^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ea80267dedd60432aa28c94fa4ce7afe4792ec92;p=platform%2Fupstream%2Fperl.git h2xs: remove useless compatibility code (VERSION_FROM requires EU::MM from perl 5.5) --- diff --git a/utils/h2xs.PL b/utils/h2xs.PL index afbc6dc..0abf194 100644 --- a/utils/h2xs.PL +++ b/utils/h2xs.PL @@ -1929,11 +1929,10 @@ use ExtUtils::MakeMaker; # the contents of the Makefile that is written. WriteMakefile( NAME => '$module', - VERSION_FROM => '$modpmname', # finds \$VERSION + VERSION_FROM => '$modpmname', # finds \$VERSION, requires EU::MM from perl >= 5.5 PREREQ_PM => {$prereq_pm}, # e.g., Module::Name => 1.1 - (\$] >= 5.005 ? ## Add these new keywords supported since 5.005 - (ABSTRACT_FROM => '$modpmname', # retrieve abstract from module - AUTHOR => '$author <$email>') : ()), + ABSTRACT_FROM => '$modpmname', # retrieve abstract from module + AUTHOR => '$author <$email>', END if (!$opt_X) { # print C stuff, unless XS is disabled $opt_F = '' unless defined $opt_F;