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

31 lines
839 B
Diff
Raw Normal View History

--- Package-Stash-0.28/Makefile.PL.orig 2011-03-29 20:22:52.000000000 +0100
+++ Package-Stash-0.28/Makefile.PL 2011-03-30 11:32:41.861104891 +0100
@@ -3,7 +3,7 @@
BEGIN { require 5.8.1; }
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' => [
@@ -51,6 +51,9 @@
delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
unless eval { ExtUtils::MakeMaker->VERSION(6.52) };
+delete $WriteMakefileArgs{LICENSE}
+ unless eval { ExtUtils::MakeMaker->VERSION(6.31) };
+
$WriteMakefileArgs{PREREQ_PM}{'Package::Stash::XS'} = 0.22
if can_cc();