Fix build with Perl 5.26+ (no . in @INC)

OK bcallah@ sthen@
This commit is contained in:
cwen 2019-01-30 15:05:19 +00:00
parent f407bee909
commit 017f444262

View File

@ -0,0 +1,10 @@
$OpenBSD: patch-Makefile_PL,v 1.1 2019/01/30 15:05:19 cwen Exp $
Fix for perl 5.26.0+ (no . in @inc by default)
Index: Makefile.PL
--- Makefile.PL.orig
+++ Makefile.PL
@@ -1,3 +1,4 @@
+BEGIN { push @INC, '.'; }
use inc::Module::Install;
all_from 'lib/Starlet.pm';