Fix build with Perl 5.26.0.

This commit is contained in:
schmonz 2017-06-08 14:05:17 +00:00
parent ec41070ccc
commit f27d88a70d
2 changed files with 14 additions and 1 deletions

View file

@ -1,6 +1,7 @@
$NetBSD: distinfo,v 1.2 2015/11/04 01:17:54 agc Exp $
$NetBSD: distinfo,v 1.3 2017/06/08 14:05:17 schmonz Exp $
SHA1 (Crypt-DH-GMP-0.00012.tar.gz) = 0f512464b61d7a0ebdbeb56425ba62a4ea82f9c8
RMD160 (Crypt-DH-GMP-0.00012.tar.gz) = d7ca76d9d11804d041b9810e2c11907019db6f2c
SHA512 (Crypt-DH-GMP-0.00012.tar.gz) = f799017db780613b6d971f626659765f282debe63207bdbc36db223030bcd8f7f478c6331372d9794bcc8207d71bfae6d62048439766916478f4b61f42c5bb6e
Size (Crypt-DH-GMP-0.00012.tar.gz) = 34421 bytes
SHA1 (patch-Makefile.PL) = cf60b636b502eec8014f223b9c9d02139fd3deb3

View file

@ -0,0 +1,12 @@
$NetBSD: patch-Makefile.PL,v 1.1 2017/06/08 14:05:17 schmonz Exp $
Fix build with Perl 5.26.0.
--- Makefile.PL.orig 2014-03-22 05:49:14.000000000 +0000
+++ Makefile.PL
@@ -1,3 +1,5 @@
+# Load the Module::Install bundled in ./inc/
+BEGIN { push @INC, '.'; }
use inc::Module::Install;
my @DEFINES;