summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2017-06-07 14:29:59 +0000
committerryoon <ryoon@pkgsrc.org>2017-06-07 14:29:59 +0000
commit6592491ee3520e58e102676a59d2f136e905faef (patch)
treedaa25756ef19d632e148a213a041a66a3bd9c6a9 /benchmarks
parent14e786163f0f5bd63d9933625720285102d25754 (diff)
downloadpkgsrc-6592491ee3520e58e102676a59d2f136e905faef.tar.gz
Fix build with Perl 5.26.0
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/p5-Benchmark-Timer/distinfo3
-rw-r--r--benchmarks/p5-Benchmark-Timer/patches/patch-Makefile.PL15
2 files changed, 17 insertions, 1 deletions
diff --git a/benchmarks/p5-Benchmark-Timer/distinfo b/benchmarks/p5-Benchmark-Timer/distinfo
index 932286c04df..1ebcdaddcc1 100644
--- a/benchmarks/p5-Benchmark-Timer/distinfo
+++ b/benchmarks/p5-Benchmark-Timer/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2015/11/03 00:25:51 agc Exp $
+$NetBSD: distinfo,v 1.4 2017/06/07 14:29:59 ryoon Exp $
SHA1 (Benchmark-Timer-0.7107.tar.gz) = 24132bf428edca54d86cc17f9d0ab598f6099516
RMD160 (Benchmark-Timer-0.7107.tar.gz) = 1232a7ff2b2a4cd2464c90f2276d73464943cc31
SHA512 (Benchmark-Timer-0.7107.tar.gz) = 6faa50a90173a075a4bb398212e2db77348f59a47ff483db9e1885dc7dce9636557684574a21f228c53f0c29a468e663706843840b2e59abbaaed1222f400e05
Size (Benchmark-Timer-0.7107.tar.gz) = 45734 bytes
+SHA1 (patch-Makefile.PL) = 36b460c6e958cf7ce3b52025f5ef043c32ead088
diff --git a/benchmarks/p5-Benchmark-Timer/patches/patch-Makefile.PL b/benchmarks/p5-Benchmark-Timer/patches/patch-Makefile.PL
new file mode 100644
index 00000000000..b637aa93cbb
--- /dev/null
+++ b/benchmarks/p5-Benchmark-Timer/patches/patch-Makefile.PL
@@ -0,0 +1,15 @@
+$NetBSD: patch-Makefile.PL,v 1.1 2017/06/07 14:29:59 ryoon Exp $
+
+* Fix build with Perl 5.26.0
+
+--- Makefile.PL.orig 2015-04-26 22:40:24.000000000 +0000
++++ Makefile.PL
+@@ -5,6 +5,8 @@ use strict;
+ # For PRIVATE Module::Install extensions
+ use lib 'private-lib';
+
++use FindBin;
++use lib $FindBin::Bin;
+ use inc::Module::Install;
+
+ all_from('lib/Benchmark/Timer.pm');