Subject: | [PATCH] compatibility with older perls |
XSLoader is now on CPAN, it works on perl 5.4.
Also adds license for META.yml.
Tested patch on 5.5.
--
Alexandr Ciornii, http://chorny.net
Subject: | Makefile.PL.patch |
--- Makefile.PL.orig Mon Oct 29 23:03:33 2007
+++ Makefile.PL Mon Oct 29 23:17:00 2007
@@ -1,4 +1,4 @@
-require 5.006;
+#require 5.006;
use ExtUtils::MakeMaker;
my @makefileopts;
@@ -9,9 +9,16 @@
push @makefileopts, INSTALLDIRS => 'perl';
}
+if ($ExtUtils::MakeMaker::VERSION gt '6.30') {
+ push @makefileopts, 'LICENSE' => 'perl';
+}
+
WriteMakefile(
NAME => 'MIME::Base64',
VERSION_FROM => 'Base64.pm',
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
+ 'PREREQ_PM' => {
+ 'XSLoader' => 0,
+ },
@makefileopts,
);