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.
Attached distribution that requires only version change and 'Changes'.
Requires MIME::Base64 with similar patch
(http://rt.cpan.org//Ticket/Display.html?id=30347).
--
Alexandr Ciornii, http://chorny.net
Subject: | Makefile.PL.patch |
--- Makefile.PL.orig Mon Oct 29 23:55:37 2007
+++ Makefile.PL Mon Oct 29 23:55:18 2007
@@ -1,6 +1,5 @@
#!perl -w
-BEGIN { require 5.006 }
use strict;
use Config qw(%Config);
use ExtUtils::MakeMaker;
@@ -22,11 +21,16 @@
push(@extra, 'INSTALLDIRS' => 'perl') if $] >= 5.008;
push(@extra, 'MAN3PODS' => {}) if $PERL_CORE; # Pods built by installman.
+if ($ExtUtils::MakeMaker::VERSION gt '6.30') {
+ push @extra, 'LICENSE' => 'perl';
+}
+
WriteMakefile(
'NAME' => 'Digest::MD5',
'VERSION_FROM' => 'MD5.pm',
'PREREQ_PM' => { 'File::Spec' => 0,
'Digest::base' => '1.00',
+ 'XSLoader' => 0,
},
@extra,
'dist' => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
Subject: | Digest-MD5-2.36.tar.gz |
Message body not shown because it is not plain text.