Fix build from Perl 5.26.0

This commit is contained in:
ryoon 2017-06-06 08:22:45 +00:00
parent a332fd110c
commit 4e39900de6
2 changed files with 16 additions and 1 deletions

View file

@ -1,6 +1,7 @@
$NetBSD: distinfo,v 1.2 2015/11/03 01:43:52 agc Exp $
$NetBSD: distinfo,v 1.3 2017/06/06 08:22:45 ryoon Exp $
SHA1 (Unicode-EastAsianWidth-1.33.tar.gz) = 522df78fc80b14fe9190530a5cedf50a78de185b
RMD160 (Unicode-EastAsianWidth-1.33.tar.gz) = 6ee40d70c0d855835e89d9d690d32a5352772652
SHA512 (Unicode-EastAsianWidth-1.33.tar.gz) = c21e988f460534b370954d0448daec5bfb0a34ec816459f8422943ebe44ff17b5acb8a423d69daba81599111d7fa4aa33a3598e0ea4614eed25a587c1f5690eb
Size (Unicode-EastAsianWidth-1.33.tar.gz) = 31498 bytes
SHA1 (patch-Makefile.PL) = 1edc969602215cf03dcba81d4cca2f10a6cc72b5

View file

@ -0,0 +1,14 @@
$NetBSD: patch-Makefile.PL,v 1.1 2017/06/06 08:22:45 ryoon Exp $
* Add workaround for . removal from @INC
--- Makefile.PL.orig 2012-05-13 02:34:31.000000000 +0000
+++ Makefile.PL
@@ -1,5 +1,7 @@
#!/usr/bin/perl
use strict;
+use FindBin;
+use lib $FindBin::Bin;
use inc::Module::Package 'Au:dry 1';
my $DefaultVersion = 'v5.0.0';