summaryrefslogtreecommitdiff
path: root/dev-perl/Number-WithError/files/Number-WithError-1.01-no-dot-inc.patch
blob: 62c40029cdcfcec919bc138bd968e5b5424bd422 (plain)
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 8c15ff58866e38cb8ce4f7b7ad3ecac941f5863d Mon Sep 17 00:00:00 2001
From: Kent Fredric <kentnl@gentoo.org>
Date: Fri, 7 Sep 2018 20:23:23 +1200
Subject: Fix Makefile.PL to work on perl 5.26+/no-dot-inc perls

Perl 5.26+ have @INC without '.' unless PERL_USE_UNSAFE_INC=1

Perl 5.30+ will have no hack to avoid this problem \o/
---
 Makefile.PL | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile.PL b/Makefile.PL
index 76b23e1..a3c10b1 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -1,3 +1,4 @@
+use lib '.';
 use inc::Module::Install;
 
 name           'Number-WithError';
-- 
2.17.1