From ea80267dedd60432aa28c94fa4ce7afe4792ec92 Mon Sep 17 00:00:00 2001 From: Alexandr Ciornii Date: Thu, 7 Feb 2013 13:05:21 +0200 Subject: [PATCH] h2xs: remove useless compatibility code (VERSION_FROM requires EU::MM from perl 5.5) --- utils/h2xs.PL | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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; -- 2.7.4