perl-Package-Stash/Package-Stash-0.20-EU::MM-version.patch

31 lines
771 B
Diff
Raw Normal View History

--- Package-Stash-0.20/Makefile.PL.orig 2011-01-03 19:48:16.000000000 +0000
+++ Package-Stash-0.20/Makefile.PL 2011-01-04 13:33:09.585268028 +0000
@@ -3,7 +3,7 @@
BEGIN { require 5.8.3; }
use strict;
use warnings;
-use ExtUtils::MakeMaker 6.31;
+use ExtUtils::MakeMaker;
check_conflicts();
my %WriteMakefileArgs = (
@@ -16,7 +16,7 @@
},
'CONFIGURE_REQUIRES' => {
'Dist::CheckConflicts' => '0.02',
- 'ExtUtils::MakeMaker' => '6.31'
+ 'ExtUtils::MakeMaker' => '0'
},
'DISTNAME' => 'Package-Stash',
'EXE_FILES' => [
@@ -49,6 +49,9 @@
}
}
+delete $WriteMakefileArgs{LICENSE}
+ unless eval { ExtUtils::MakeMaker->VERSION(6.31) };
+
delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
unless eval { ExtUtils::MakeMaker->VERSION(6.52) };