File: perl-5.18-build.patch

package info (click to toggle)
libapache-authznetldap-perl 0.07-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, stretch
  • size: 124 kB
  • ctags: 12
  • sloc: perl: 433; makefile: 4
file content (20 lines) | stat: -rw-r--r-- 947 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: fix Makefile.PL to work with perl 5.18
Origin: vendor
Bug-Debian: http://bugs.debian.org/719972
Bug: https://rt.cpan.org/Ticket/Display.html?id=87975
Forwarded: https://rt.cpan.org/Ticket/Display.html?id=87975
Author: "brian m. carlson" <sandals@crustytoothpaste.net>
Reviewed-by: gregor herrmann <gregoa@debian.org>
Last-Update: 2013-08-20

--- a/Makefile.PL
+++ b/Makefile.PL
@@ -2,7 +2,7 @@
     # ExtUtils::AutoInstall Bootstrap Code, version 7.
     BEGIN{my$p='ExtUtils::AutoInstall';my$v=0.52;$p->VERSION||0>=$v
     or+eval"use $p $v;1"or+do{my$e=$ENV{PERL_EXTUTILS_AUTOINSTALL};
-    (!defined($e)||$e!~m/--(?:default|skip|testonly)/and-t STDIN or
+    (!defined($e)||$e!~m/--(?:default|skip|testonly)/ and-t STDIN or
     eval"use ExtUtils::MakeMaker;WriteMakefile(PREREQ_PM=>{'$p',$v}
     );1"and exit)and print"==> $p $v required. Install it from CP".
     "AN? [Y/n] "and<STDIN>!~/^n/i and print"*** Installing $p\n"and