From 7e5b3419a7bab29e95e1e1eeb30bef7bfc82629a Mon Sep 17 00:00:00 2001 From: ryoon Date: Tue, 6 Jun 2017 14:22:36 +0000 Subject: Fix build with Perl 5.26.0 --- devel/p5-Test-LeakTrace/distinfo | 3 ++- devel/p5-Test-LeakTrace/patches/patch-Makefile.PL | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 devel/p5-Test-LeakTrace/patches/patch-Makefile.PL (limited to 'devel') diff --git a/devel/p5-Test-LeakTrace/distinfo b/devel/p5-Test-LeakTrace/distinfo index b578c6132e8..d0f9f2d272f 100644 --- a/devel/p5-Test-LeakTrace/distinfo +++ b/devel/p5-Test-LeakTrace/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.6 2015/11/03 03:28:51 agc Exp $ +$NetBSD: distinfo,v 1.7 2017/06/06 14:27:23 ryoon Exp $ SHA1 (Test-LeakTrace-0.15.tar.gz) = 6b045c535bc151c431c7431c1c1162e1b14c021c RMD160 (Test-LeakTrace-0.15.tar.gz) = 20cd48562c002734d629bf9f84e73bf8cd7b31fa SHA512 (Test-LeakTrace-0.15.tar.gz) = 664d1648cc9ce229456ca0c27430bdd36ba1d9bf6907afce6c612b90d6885aa6a71caeceb266aec1f843287e6bcda35ac28eab2ad6b662019c0fcb87d7f0d6be Size (Test-LeakTrace-0.15.tar.gz) = 49364 bytes +SHA1 (patch-Makefile.PL) = 913adea30c7f208bde99d28ba371671286f4b913 diff --git a/devel/p5-Test-LeakTrace/patches/patch-Makefile.PL b/devel/p5-Test-LeakTrace/patches/patch-Makefile.PL new file mode 100644 index 00000000000..743d637071d --- /dev/null +++ b/devel/p5-Test-LeakTrace/patches/patch-Makefile.PL @@ -0,0 +1,14 @@ +$NetBSD: patch-Makefile.PL,v 1.1 2017/06/06 14:27:23 ryoon Exp $ + +* Fix build with Perl 5.26.0 + +--- Makefile.PL.orig 2014-11-13 22:40:34.000000000 +0000 ++++ Makefile.PL +@@ -1,5 +1,7 @@ + use strict; + use warnings; ++use FindBin; ++use lib $FindBin::Bin; + use inc::Module::Install; + + name 'Test-LeakTrace'; -- cgit v1.2.3