libtest-simpleunit-perl/debian/patches/perl5.18-re-a-mod.patch

17 lines
703 B
Diff
Raw Normal View History

2020-03-29 19:00:35 +02:00
Description: Fix m//and constuct, invalid with perl 5.18
Author: Damyan Ivanov <dmn@debian.org>
Origin: vendor
Bug-Debian: http://bugs.debian.org/711617
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -19,7 +19,7 @@
# ExtUtils::AutoInstall Bootstrap Code, version 5.
BEGIN{my$p='ExtUtils::AutoInstall';my$v=0.40;eval"use $p $v;1
"or do{my$e=$ENV{PERL_EXTUTILS_AUTOINSTALL};(!defined($e)||$e
-!~m/--(?:default|skip|testonly)/and-t STDIN or eval"use Ext".
+!~m/--(?:default|skip|testonly)/ and -t STDIN or eval"use Ext".
"Utils::MakeMaker;WriteMakefile('PREREQ_PM'=>{'$p',$v});1"and
exit)and print"==> $p $v required. Install it from CPAN? [Y".
"/n] "and<STDIN>!~/^n/i and print"*** Installing $p\n"and do{