summaryrefslogtreecommitdiff
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
parent14e786163f0f5bd63d9933625720285102d25754 (diff)
downloadpkgsrc-6592491ee3520e58e102676a59d2f136e905faef.tar.gz
Fix build with Perl 5.26.0
-rw-r--r--benchmarks/p5-Benchmark-Timer/distinfo3
-rw-r--r--benchmarks/p5-Benchmark-Timer/patches/patch-Makefile.PL15
-rw-r--r--comms/p5-Data-AMF/distinfo3
-rw-r--r--comms/p5-Data-AMF/patches/patch-Makefile.PL12
-rw-r--r--comms/p5-SMS-Send/distinfo3
-rw-r--r--comms/p5-SMS-Send/patches/patch-Makefile.PL12
-rw-r--r--converters/p5-Sereal-Decoder/distinfo3
-rw-r--r--converters/p5-Sereal-Decoder/patches/patch-Decoder.xs67
-rw-r--r--converters/p5-Sereal-Encoder/distinfo3
-rw-r--r--converters/p5-Sereal-Encoder/patches/patch-Encoder.xs65
-rw-r--r--converters/p5-Unicode-Collate/distinfo3
-rw-r--r--converters/p5-Unicode-Collate/patches/patch-Makefile.PL15
-rw-r--r--converters/p5-Unicode-Normalize/distinfo3
-rw-r--r--converters/p5-Unicode-Normalize/patches/patch-Makefile.PL15
-rw-r--r--databases/p5-DBIx-Class/distinfo3
-rw-r--r--databases/p5-DBIx-Class/patches/patch-Makefile.PL15
-rw-r--r--databases/p5-SQL-Translator/distinfo3
-rw-r--r--databases/p5-SQL-Translator/patches/patch-Makefile.PL12
-rw-r--r--databases/p5-YAML-MLDBM/distinfo3
-rw-r--r--databases/p5-YAML-MLDBM/patches/patch-Makefile.PL10
-rw-r--r--databases/p5-perl-ldap/distinfo3
-rw-r--r--databases/p5-perl-ldap/patches/patch-Makefile.PL14
22 files changed, 274 insertions, 11 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');
diff --git a/comms/p5-Data-AMF/distinfo b/comms/p5-Data-AMF/distinfo
index dbf62fa626e..b94a9b9cb37 100644
--- a/comms/p5-Data-AMF/distinfo
+++ b/comms/p5-Data-AMF/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2015/11/03 01:34:56 agc Exp $
+$NetBSD: distinfo,v 1.3 2017/06/07 14:31:37 ryoon Exp $
SHA1 (Data-AMF-0.09.tar.gz) = fb2462b288e1c48ecc37d2aa6c3d426fd1e6d942
RMD160 (Data-AMF-0.09.tar.gz) = 5121572c73e654f82156ef9653a040a4d98ae761
SHA512 (Data-AMF-0.09.tar.gz) = 18d1dcf19b6f2fdaecb27ef6683137e83fdb040fa99c096ecd643bbe09adda260e94b83113d2e1e86f916dcfccc74186fb0adc4fcb967134ae682645292c70d6
Size (Data-AMF-0.09.tar.gz) = 129205 bytes
+SHA1 (patch-Makefile.PL) = 8fcb91781eec1788845e1297e3af74f827b76cdf
diff --git a/comms/p5-Data-AMF/patches/patch-Makefile.PL b/comms/p5-Data-AMF/patches/patch-Makefile.PL
new file mode 100644
index 00000000000..f642b3e0bb6
--- /dev/null
+++ b/comms/p5-Data-AMF/patches/patch-Makefile.PL
@@ -0,0 +1,12 @@
+$NetBSD: patch-Makefile.PL,v 1.1 2017/06/07 14:31:37 ryoon Exp $
+
+* Fix build with Perl 5.26.0
+
+--- Makefile.PL.orig 2010-07-21 02:45:08.000000000 +0000
++++ Makefile.PL
+@@ -1,3 +1,5 @@
++use FindBin;
++use lib $FindBin::Bin;
+ use inc::Module::Install;
+ name 'Data-AMF';
+ all_from 'lib/Data/AMF.pm';
diff --git a/comms/p5-SMS-Send/distinfo b/comms/p5-SMS-Send/distinfo
index 60e824330b9..eb3867bdd06 100644
--- a/comms/p5-SMS-Send/distinfo
+++ b/comms/p5-SMS-Send/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2015/11/03 01:34:56 agc Exp $
+$NetBSD: distinfo,v 1.4 2017/06/07 14:31:37 ryoon Exp $
SHA1 (SMS-Send-1.06.tar.gz) = edb840fc26f2c5353139df8562ea1c1710c66647
RMD160 (SMS-Send-1.06.tar.gz) = a7b4f712379940554dc929b3ea7c75ca744edfa3
SHA512 (SMS-Send-1.06.tar.gz) = 7e4fd12d9a8fd1f9a2b77ea441c146becd03b4cacd84d167ded3d569889c797ef8def3293b8996786a6d577274c12c4c8d8a2724a2365012c0f35966d85b313d
Size (SMS-Send-1.06.tar.gz) = 35184 bytes
+SHA1 (patch-Makefile.PL) = 497bcf7dcc23533afb7b4593837c1b51c11f5c6c
diff --git a/comms/p5-SMS-Send/patches/patch-Makefile.PL b/comms/p5-SMS-Send/patches/patch-Makefile.PL
new file mode 100644
index 00000000000..c9523120583
--- /dev/null
+++ b/comms/p5-SMS-Send/patches/patch-Makefile.PL
@@ -0,0 +1,12 @@
+$NetBSD: patch-Makefile.PL,v 1.1 2017/06/07 14:31:37 ryoon Exp $
+
+* Fix build with Perl 5.26.0
+
+--- Makefile.PL.orig 2011-11-09 02:40:00.000000000 +0000
++++ Makefile.PL
+@@ -1,3 +1,5 @@
++use FindBin;
++use lib $FindBin::Bin;
+ use inc::Module::Install::DSL 1.04;
+
+ all_from lib/SMS/Send.pm
diff --git a/converters/p5-Sereal-Decoder/distinfo b/converters/p5-Sereal-Decoder/distinfo
index 38c75362f62..28d32c74662 100644
--- a/converters/p5-Sereal-Decoder/distinfo
+++ b/converters/p5-Sereal-Decoder/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.7 2016/12/11 20:30:35 wiedi Exp $
+$NetBSD: distinfo,v 1.8 2017/06/07 14:33:23 ryoon Exp $
SHA1 (Sereal-Decoder-3.014.tar.gz) = 79962f925b2f7dc3920c913d0b033da860a84012
RMD160 (Sereal-Decoder-3.014.tar.gz) = bc15b504e216305349fd5192f337202d93e21480
SHA512 (Sereal-Decoder-3.014.tar.gz) = 00ac49d18033fa177fa12d36b0527f327eaed54c96a065783da6c209db24764b4487464312a933ac24d51d94ef79293c0cb1aa938f6e4704a3b0a11b30151e22
Size (Sereal-Decoder-3.014.tar.gz) = 369546 bytes
+SHA1 (patch-Decoder.xs) = eee3fdd7b81dfdc8494cc0aaac33ca0a26b44e96
SHA1 (patch-snappy_csnappy__internal__userspace.h) = 604f36231909881d4c424c06cd0b6065b4912006
diff --git a/converters/p5-Sereal-Decoder/patches/patch-Decoder.xs b/converters/p5-Sereal-Decoder/patches/patch-Decoder.xs
new file mode 100644
index 00000000000..687422d8605
--- /dev/null
+++ b/converters/p5-Sereal-Decoder/patches/patch-Decoder.xs
@@ -0,0 +1,67 @@
+$NetBSD: patch-Decoder.xs,v 1.1 2017/06/07 14:33:23 ryoon Exp $
+
+* Fix build with Perl 5.26.0
+ Like devel/p5-Params-Classify/patches/patch-lib_Params_Classify.xs
+
+--- Decoder.xs.orig 2015-11-27 00:15:01.000000000 +0000
++++ Decoder.xs
+@@ -19,6 +19,26 @@
+ #ifndef PERL_ARGS_ASSERT_CROAK_XS_USAGE
+ #define PERL_ARGS_ASSERT_CROAK_XS_USAGE assert(cv); assert(params)
+
++#ifndef OpHAS_SIBLING
++# define OpHAS_SIBLING(o) (cBOOL((o)->op_sibling))
++#endif
++
++#ifndef OpSIBLING
++# define OpSIBLING(o) (0 + (o)->op_sibling)
++#endif
++
++#ifndef OpMORESIB_set
++# define OpMORESIB_set(o, sib) ((o)->op_sibling = (sib))
++#endif
++
++#ifndef OpLASTSIB_set
++# define OpLASTSIB_set(o, parent) ((o)->op_sibling = NULL)
++#endif
++
++#ifndef OpMAYBESIB_set
++# define OpMAYBESIB_set(o, sib, parent) ((o)->op_sibling = (sib))
++#endif
++
+ /* prototype to pass -Wmissing-prototypes */
+ STATIC void
+ S_croak_xs_usage(pTHX_ const CV *const cv, const char *const params);
+@@ -193,17 +213,17 @@ THX_ck_entersub_args_sereal_decoder(pTHX
+
+ entersubop = ck_entersub_args_proto(entersubop, namegv, (SV*)cv);
+ pushop = cUNOPx(entersubop)->op_first;
+- if ( ! pushop->op_sibling )
++ if ( ! OpHAS_SIBLING(pushop) )
+ pushop = cUNOPx(pushop)->op_first;
+- firstargop = pushop->op_sibling;
++ firstargop = OpSIBLING(pushop);
+
+- for (cvop = firstargop; cvop->op_sibling; cvop = cvop->op_sibling) ;
++ for (cvop = firstargop; OpHAS_SIBLING(cvop); cvop = OpSIBLING(cvop)) ;
+
+ lastargop = pushop;
+ for (
+ arity = 0, lastargop = pushop, argop = firstargop;
+ argop != cvop;
+- lastargop = argop, argop = argop->op_sibling
++ lastargop = argop, argop = OpSIBLING(argop)
+ ){
+ arity++;
+ }
+@@ -222,8 +242,8 @@ THX_ck_entersub_args_sereal_decoder(pTHX
+ if (arity > min_arity)
+ opopt |= OPOPT_OUTARG_HEADER;
+
+- pushop->op_sibling = cvop;
+- lastargop->op_sibling = NULL;
++ OpLASTSIB_set(pushop, cvop);
++ OpLASTSIB_set(lastargop, NULL);
+ op_free(entersubop);
+ newop = newUNOP(OP_NULL, 0, firstargop);
+ newop->op_type = OP_CUSTOM;
diff --git a/converters/p5-Sereal-Encoder/distinfo b/converters/p5-Sereal-Encoder/distinfo
index 9533967a173..6eb4baa6bc4 100644
--- a/converters/p5-Sereal-Encoder/distinfo
+++ b/converters/p5-Sereal-Encoder/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.7 2016/12/15 01:53:34 wiedi Exp $
+$NetBSD: distinfo,v 1.8 2017/06/07 14:33:24 ryoon Exp $
SHA1 (Sereal-Encoder-3.014.tar.gz) = 8cda51758cd1d22aa307efe8c85423511a12884a
RMD160 (Sereal-Encoder-3.014.tar.gz) = bef412b1dd0fa8510decd5a048d8bbaf922999cf
SHA512 (Sereal-Encoder-3.014.tar.gz) = 4891cb9189abe77012d14ba778156806f9d1708bce73015ce4d1d06ce4aa62abd0f9af4f98a64c547e55fa2298770f45aa2b0b99cc00e8e0f6a022df84bb41b8
Size (Sereal-Encoder-3.014.tar.gz) = 377995 bytes
+SHA1 (patch-Encoder.xs) = 4a0265facb06f768cf73db8f78782b117d37b00c
SHA1 (patch-snappy_csnappy__internal__userspace.h) = 604f36231909881d4c424c06cd0b6065b4912006
diff --git a/converters/p5-Sereal-Encoder/patches/patch-Encoder.xs b/converters/p5-Sereal-Encoder/patches/patch-Encoder.xs
new file mode 100644
index 00000000000..1c0c1f27f30
--- /dev/null
+++ b/converters/p5-Sereal-Encoder/patches/patch-Encoder.xs
@@ -0,0 +1,65 @@
+$NetBSD: patch-Encoder.xs,v 1.1 2017/06/07 14:33:24 ryoon Exp $
+
+* Fix build with Perl 5.26.0
+ Like devel/p5-Params-Classify/patches/patch-lib_Params_Classify.xs
+
+--- Encoder.xs.orig 2015-11-27 01:30:50.000000000 +0000
++++ Encoder.xs
+@@ -20,6 +20,27 @@
+ # define GvCV_set(gv, cv) (GvCV(gv) = (cv))
+ #endif
+
++#ifndef OpHAS_SIBLING
++# define OpHAS_SIBLING(o) (cBOOL((o)->op_sibling))
++#endif
++
++#ifndef OpSIBLING
++# define OpSIBLING(o) (0 + (o)->op_sibling)
++#endif
++
++#ifndef OpMORESIB_set
++# define OpMORESIB_set(o, sib) ((o)->op_sibling = (sib))
++#endif
++
++#ifndef OpLASTSIB_set
++# define OpLASTSIB_set(o, parent) ((o)->op_sibling = NULL)
++#endif
++
++#ifndef OpMAYBESIB_set
++# define OpMAYBESIB_set(o, sib, parent) ((o)->op_sibling = (sib))
++#endif
++
++
+ #if defined(cv_set_call_checker) && defined(XopENTRY_set)
+ # define USE_CUSTOM_OPS 1
+ #else
+@@ -88,14 +109,14 @@ THX_ck_entersub_args_sereal_encode_with_
+
+ entersubop = ck_entersub_args_proto(entersubop, namegv, ckobj);
+ pushop = cUNOPx(entersubop)->op_first;
+- if (!pushop->op_sibling)
++ if (!OpHAS_SIBLING(pushop))
+ pushop = cUNOPx(pushop)->op_first;
+- firstargop = pushop->op_sibling;
++ firstargop = OpSIBLING(pushop);
+
+- for (cvop = firstargop; cvop->op_sibling; cvop = cvop->op_sibling) ;
++ for (cvop = firstargop; OpHAS_SIBLING(cvop); cvop = OpSIBLING(cvop)) ;
+
+ for (arity = 0, lastargop = pushop, argop = firstargop; argop != cvop;
+- lastargop = argop, argop = argop->op_sibling)
++ lastargop = argop, argop = OpSIBLING(argop))
+ {
+ arity++;
+ }
+@@ -106,8 +127,8 @@ THX_ck_entersub_args_sereal_encode_with_
+ /* If we get here, we can replace the entersub with a suitable
+ * sereal_encode_with_object custom OP. */
+
+- pushop->op_sibling = cvop;
+- lastargop->op_sibling = NULL;
++ OpLASTSIB_set(pushop, cvop);
++ OpLASTSIB_set(lastargop, NULL);
+ op_free(entersubop);
+ newop = newUNOP(OP_NULL, 0, firstargop);
+ newop->op_type = OP_CUSTOM;
diff --git a/converters/p5-Unicode-Collate/distinfo b/converters/p5-Unicode-Collate/distinfo
index 98b99631723..3749a509c58 100644
--- a/converters/p5-Unicode-Collate/distinfo
+++ b/converters/p5-Unicode-Collate/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.16 2016/12/11 00:39:39 wen Exp $
+$NetBSD: distinfo,v 1.17 2017/06/07 14:33:24 ryoon Exp $
SHA1 (Unicode-Collate-1.19.tar.gz) = ab9680d5e1bd23b87e03c70593c40cfdc09a30f2
RMD160 (Unicode-Collate-1.19.tar.gz) = 94c9580d75d19b5f1abaf470a5d7472873352387
SHA512 (Unicode-Collate-1.19.tar.gz) = 580bca6e96dd474b223ec9f971d6b8a4fc96d1bbffdc278dfa679d511455940e088f19069647715c2ae7c8e52972a59107cbc6d1bf3537de1c314feab2f4c21b
Size (Unicode-Collate-1.19.tar.gz) = 886811 bytes
+SHA1 (patch-Makefile.PL) = b87caafb75d18bdb9c6c5462b2f6842c4bcc7aa8
diff --git a/converters/p5-Unicode-Collate/patches/patch-Makefile.PL b/converters/p5-Unicode-Collate/patches/patch-Makefile.PL
new file mode 100644
index 00000000000..af0c93734d9
--- /dev/null
+++ b/converters/p5-Unicode-Collate/patches/patch-Makefile.PL
@@ -0,0 +1,15 @@
+$NetBSD: patch-Makefile.PL,v 1.1 2017/06/07 14:33:24 ryoon Exp $
+
+* FIx build with Perl 5.26.0
+
+--- Makefile.PL.orig 2016-12-03 00:33:01.000000000 +0000
++++ Makefile.PL
+@@ -6,7 +6,7 @@ my $clean = {};
+ if (-f "Collate.xs") {
+ print "Making header files for XS...\n";
+
+- do 'mkheader' or die $@ || "mkheader: $!";
++ do './mkheader' or die $@ || "mkheader: $!";
+
+ $clean = { FILES => 'ucatbl.h' };
+ }
diff --git a/converters/p5-Unicode-Normalize/distinfo b/converters/p5-Unicode-Normalize/distinfo
index f7a1fb78b5d..41a26af8556 100644
--- a/converters/p5-Unicode-Normalize/distinfo
+++ b/converters/p5-Unicode-Normalize/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.7 2016/04/13 21:10:11 markd Exp $
+$NetBSD: distinfo,v 1.8 2017/06/07 14:33:24 ryoon Exp $
SHA1 (Unicode-Normalize-1.25.tar.gz) = 607ada7ef05bc1644f7f08d8899fc60988ea4f7e
RMD160 (Unicode-Normalize-1.25.tar.gz) = 0a05087451efde87f497c97f33e65891336b4b91
SHA512 (Unicode-Normalize-1.25.tar.gz) = f28c19e0293cf75cc0aab669ae0a0543f6a1a39e1e50ff32ab37abd8e85efc73e8b9075e581212b6da576ecbf8c0e9ddb7b9b352674aa3a04c77f9aaf4717866
Size (Unicode-Normalize-1.25.tar.gz) = 40530 bytes
+SHA1 (patch-Makefile.PL) = 8124fac4b9786ae579d8013a560ae067648965a7
diff --git a/converters/p5-Unicode-Normalize/patches/patch-Makefile.PL b/converters/p5-Unicode-Normalize/patches/patch-Makefile.PL
new file mode 100644
index 00000000000..0b12fbf7ca9
--- /dev/null
+++ b/converters/p5-Unicode-Normalize/patches/patch-Makefile.PL
@@ -0,0 +1,15 @@
+$NetBSD: patch-Makefile.PL,v 1.1 2017/06/07 14:33:24 ryoon Exp $
+
+* Fix build with Perl 5.26.0
+
+--- Makefile.PL.orig 2015-12-16 02:02:23.000000000 +0000
++++ Makefile.PL
+@@ -8,7 +8,7 @@ my $mm_ver = ExtUtils::MakeMaker->VERSIO
+ if (-f "Normalize.xs") {
+ print STDERR "Making header files for XS...\n";
+
+- do 'mkheader' or die $@ || "mkheader: $!";
++ do './mkheader' or die $@ || "mkheader: $!";
+
+ $clean = { FILES => 'unfcan.h unfcmb.h unfcmp.h unfcpt.h unfexc.h' };
+ }
diff --git a/databases/p5-DBIx-Class/distinfo b/databases/p5-DBIx-Class/distinfo
index 086f8ff91cc..84c28f0d683 100644
--- a/databases/p5-DBIx-Class/distinfo
+++ b/databases/p5-DBIx-Class/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.28 2016/07/16 02:26:58 wen Exp $
+$NetBSD: distinfo,v 1.29 2017/06/07 14:34:46 ryoon Exp $
SHA1 (DBIx-Class-0.082840.tar.gz) = d3ed27de4ee2c60e4c05656d1f16c4281be63bf7
RMD160 (DBIx-Class-0.082840.tar.gz) = 707e62c3c937836190c9a8482617ec381f431c25
SHA512 (DBIx-Class-0.082840.tar.gz) = 0ae0c724c57cd2b62b9d711633bfc2ba4320c15f6e9d0253381c9ffae495355e32888ec87d6a85c85000d434cedb51789f4b7807da157de8b08723333b66a0d2
Size (DBIx-Class-0.082840.tar.gz) = 860243 bytes
+SHA1 (patch-Makefile.PL) = 1eff961166d6b3e42d6beac09b94780d6b4146f3
diff --git a/databases/p5-DBIx-Class/patches/patch-Makefile.PL b/databases/p5-DBIx-Class/patches/patch-Makefile.PL
new file mode 100644
index 00000000000..df85e4ab216
--- /dev/null
+++ b/databases/p5-DBIx-Class/patches/patch-Makefile.PL
@@ -0,0 +1,15 @@
+$NetBSD: patch-Makefile.PL,v 1.1 2017/06/07 14:34:47 ryoon Exp $
+
+* Fix build with Perl 5.26.0
+
+--- Makefile.PL.orig 2016-06-20 06:55:46.000000000 +0000
++++ Makefile.PL
+@@ -2,6 +2,8 @@ use strict;
+ use warnings;
+
+ use 5.008001;
++use FindBin;
++use lib $FindBin::Bin;
+ use inc::Module::Install 1.06;
+ BEGIN { makemaker_args( NORECURS => 1 ) } # needs to happen early for old EUMM
+
diff --git a/databases/p5-SQL-Translator/distinfo b/databases/p5-SQL-Translator/distinfo
index b099056a4e3..b5265a43a7c 100644
--- a/databases/p5-SQL-Translator/distinfo
+++ b/databases/p5-SQL-Translator/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.17 2015/11/03 01:56:23 agc Exp $
+$NetBSD: distinfo,v 1.18 2017/06/07 14:34:47 ryoon Exp $
SHA1 (SQL-Translator-0.11021.tar.gz) = 7251e593a089fd74e69a4f36347f786de156de79
RMD160 (SQL-Translator-0.11021.tar.gz) = 964c01d6e2a59262eb8ff54fcb5ec48bcbe3ec23
SHA512 (SQL-Translator-0.11021.tar.gz) = d8bd12932d522ff6feb6821e7fbe95e804861c1d07035185b05e5a151f4fd4ddec233fb43637700ba32aa3e252df5590281db9d38b553a791e9d4bf15f68d5f7
Size (SQL-Translator-0.11021.tar.gz) = 438222 bytes
+SHA1 (patch-Makefile.PL) = 8159357e5820138bf1a7cfb3f69aefc104c0eca3
diff --git a/databases/p5-SQL-Translator/patches/patch-Makefile.PL b/databases/p5-SQL-Translator/patches/patch-Makefile.PL
new file mode 100644
index 00000000000..692ac3977f1
--- /dev/null
+++ b/databases/p5-SQL-Translator/patches/patch-Makefile.PL
@@ -0,0 +1,12 @@
+$NetBSD: patch-Makefile.PL,v 1.1 2017/06/07 14:34:47 ryoon Exp $
+
+* Fix build with Perl 5.26.0
+
+--- Makefile.PL.orig 2014-10-16 12:04:39.000000000 +0000
++++ Makefile.PL
+@@ -1,3 +1,5 @@
++use FindBin;
++use lib $FindBin::Bin;
+ use inc::Module::Install 1.06;
+ use strict;
+ use warnings;
diff --git a/databases/p5-YAML-MLDBM/distinfo b/databases/p5-YAML-MLDBM/distinfo
index 63302654e1b..7fcaa608e94 100644
--- a/databases/p5-YAML-MLDBM/distinfo
+++ b/databases/p5-YAML-MLDBM/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.3 2015/11/03 01:56:24 agc Exp $
+$NetBSD: distinfo,v 1.4 2017/06/07 14:34:47 ryoon Exp $
SHA1 (YAML-MLDBM-0.10.tar.gz) = be53f12206f8a8c99dee6c2d83c3faa439d70d6f
RMD160 (YAML-MLDBM-0.10.tar.gz) = 26d673818d96dc489f0286050127f9605fd55a86
SHA512 (YAML-MLDBM-0.10.tar.gz) = 096e6acff2f631563f030a0826136bd522edb304a895cd404b12ca297c09ac25bf3c75d5c95a3f121f901132975bd9eca21ab3840f407574c62e6d5735d39570
Size (YAML-MLDBM-0.10.tar.gz) = 3420 bytes
SHA1 (patch-CPAN_MakeMaker.pm) = b53a24aa90755f4bdbce47050d9b7120c57ec410
+SHA1 (patch-Makefile.PL) = 3c52756372b31d0c23b65e9202c0536a930f4230
diff --git a/databases/p5-YAML-MLDBM/patches/patch-Makefile.PL b/databases/p5-YAML-MLDBM/patches/patch-Makefile.PL
new file mode 100644
index 00000000000..d01fceb2772
--- /dev/null
+++ b/databases/p5-YAML-MLDBM/patches/patch-Makefile.PL
@@ -0,0 +1,10 @@
+$NetBSD: patch-Makefile.PL,v 1.1 2017/06/07 14:34:47 ryoon Exp $
+
+--- Makefile.PL.orig 2003-02-02 05:02:07.000000000 +0000
++++ Makefile.PL
+@@ -1,3 +1,5 @@
++use FindBin;
++use lib $FindBin::Bin;
+ use CPAN::MakeMaker;
+
+ $PREREQ_PM{YAML} = '0.35';
diff --git a/databases/p5-perl-ldap/distinfo b/databases/p5-perl-ldap/distinfo
index 6cf7b412461..849a0f9800c 100644
--- a/databases/p5-perl-ldap/distinfo
+++ b/databases/p5-perl-ldap/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.18 2016/04/16 13:41:00 wen Exp $
+$NetBSD: distinfo,v 1.19 2017/06/07 14:34:47 ryoon Exp $
SHA1 (perl-ldap-0.65.tar.gz) = b7e270a63639eeb2a92da1f430f7ed6e165ddd5a
RMD160 (perl-ldap-0.65.tar.gz) = d64f937a294c640adde6bfb8fa3176c964105a52
SHA512 (perl-ldap-0.65.tar.gz) = 567de41fc1e659de23b4ae7b6cec5a60df0ad8bc90062158cf83f90d3729ac27a8bacb276b732931fefbf33847fe1baec7a62393aae5978f3c55c6c602f93747
Size (perl-ldap-0.65.tar.gz) = 311145 bytes
+SHA1 (patch-Makefile.PL) = a0fa13a55f456d4f1b5b19384b25f9dbf34fbf3f
diff --git a/databases/p5-perl-ldap/patches/patch-Makefile.PL b/databases/p5-perl-ldap/patches/patch-Makefile.PL
new file mode 100644
index 00000000000..d98a25de226
--- /dev/null
+++ b/databases/p5-perl-ldap/patches/patch-Makefile.PL
@@ -0,0 +1,14 @@
+$NetBSD: patch-Makefile.PL,v 1.1 2017/06/07 14:34:47 ryoon Exp $
+
+* Fix build with Perl 5.26.0
+
+--- Makefile.PL.orig 2015-04-02 12:43:37.000000000 +0000
++++ Makefile.PL
+@@ -1,5 +1,7 @@
+ # -*- perl -*-
+
++use FindBin;
++use lib $FindBin::Bin;
+ use inc::Module::Install;
+
+ perl_version 5.008001;