Fix in perl 5.26.0+ (no . in @INC by default)

This commit is contained in:
sthen 2019-01-26 03:40:34 +00:00
parent 6b8a45b4e3
commit 63808f02e4

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-Makefile_PL,v 1.1 2019/01/26 03:40:34 sthen Exp $
Index: Makefile.PL
--- Makefile.PL.orig
+++ Makefile.PL
@@ -6,7 +6,7 @@ BEGIN {
if (-e '../.git') {
do 'tools/check_mi_mods.pl';
} else {
- unshift @INC, 'inc';
+ unshift @INC, '.', 'inc';
require inc::Module::Install;
Module::Install->import;
}