File: eu-mm-perl-base.diff

package info (click to toggle)
perl 5.42.0-2
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 128,392 kB
  • sloc: perl: 534,963; ansic: 240,563; sh: 72,042; pascal: 6,934; xml: 2,428; yacc: 1,360; makefile: 1,197; cpp: 208; lisp: 1
file content (24 lines) | stat: -rw-r--r-- 920 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Niko Tyni <ntyni@debian.org>
Date: Sat, 6 Jun 2020 11:12:42 +0300
Subject: Suppress an ExtUtils::MakeMaker warning about our non-default @INC

Config.pm gets loaded from a different path than archlibexp on Debian.

Bug-Debian: https://bugs.debian.org/962138
---
 cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Any.pm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Any.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Any.pm
index 0945038..091ba9c 100644
--- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Any.pm
+++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Any.pm
@@ -2752,6 +2752,8 @@ sub arch_check {
     my($pvol, $pthinks) = $self->splitpath($pconfig);
     my($cvol, $cthinks) = $self->splitpath($cconfig);
 
+    return 1 if $pthinks =~ /perl-base/; # https://bugs.debian.org/962138
+
     $pthinks = $self->canonpath($pthinks);
     $cthinks = $self->canonpath($cthinks);