diff options
author | ryoon <ryoon> | 2017-06-09 16:55:10 +0000 |
---|---|---|
committer | ryoon <ryoon> | 2017-06-09 16:55:10 +0000 |
commit | 6f133e7bec9781777b76212edf90d0b4cf4ebac3 (patch) | |
tree | 968413aedda45dd27c6abf51b20c27b67a49f840 /net/p5-Net-Bind | |
parent | 28a430c3f9963972a903e31ef6ae4910dc50a8b0 (diff) | |
download | pkgsrc-6f133e7bec9781777b76212edf90d0b4cf4ebac3.tar.gz |
Fix build with Perl 5.26.0
Diffstat (limited to 'net/p5-Net-Bind')
-rw-r--r-- | net/p5-Net-Bind/distinfo | 4 | ||||
-rw-r--r-- | net/p5-Net-Bind/patches/patch-Makefile.PL | 14 | ||||
-rw-r--r-- | net/p5-Net-Bind/patches/patch-Net-Bind.spec.PL | 15 |
3 files changed, 32 insertions, 1 deletions
diff --git a/net/p5-Net-Bind/distinfo b/net/p5-Net-Bind/distinfo index 80353b3f794..cf90c97e3e2 100644 --- a/net/p5-Net-Bind/distinfo +++ b/net/p5-Net-Bind/distinfo @@ -1,6 +1,8 @@ -$NetBSD: distinfo,v 1.3 2015/11/04 00:35:20 agc Exp $ +$NetBSD: distinfo,v 1.4 2017/06/09 16:55:10 ryoon Exp $ SHA1 (Net-Bind-0.05.tar.gz) = c6e3bb3e08448a6a11b280917adc1b3f5508ddf1 RMD160 (Net-Bind-0.05.tar.gz) = a9c990a5c9021027156a1ff990e7c1a83cfa9a21 SHA512 (Net-Bind-0.05.tar.gz) = c61910e97d775768cdaf4d91fced967480e3054769458d1fdf7f566b8b1895b35ea3bf1be1a2c3536d087f06d6ef02a9cf35983ed50407972f344db14c07f933 Size (Net-Bind-0.05.tar.gz) = 10985 bytes +SHA1 (patch-Makefile.PL) = e787a78c664d02d71f73fe479d856c9730afeff4 +SHA1 (patch-Net-Bind.spec.PL) = f1a38b94e51ab9f1c817fc665f7e646181ed3629 diff --git a/net/p5-Net-Bind/patches/patch-Makefile.PL b/net/p5-Net-Bind/patches/patch-Makefile.PL new file mode 100644 index 00000000000..ead7bdd7983 --- /dev/null +++ b/net/p5-Net-Bind/patches/patch-Makefile.PL @@ -0,0 +1,14 @@ +$NetBSD: patch-Makefile.PL,v 1.1 2017/06/09 16:55:10 ryoon Exp $ + +* Fix build with Perl 5.26.0 + +--- Makefile.PL.orig 2002-04-18 02:07:52.000000000 +0000 ++++ Makefile.PL +@@ -1,5 +1,7 @@ + #!/usr/bin/perl + ++use FindBin; ++use lib $FindBin::Bin; + use ExtUtils::MakeMaker; + + WriteMakefile( diff --git a/net/p5-Net-Bind/patches/patch-Net-Bind.spec.PL b/net/p5-Net-Bind/patches/patch-Net-Bind.spec.PL new file mode 100644 index 00000000000..3acef7d34a5 --- /dev/null +++ b/net/p5-Net-Bind/patches/patch-Net-Bind.spec.PL @@ -0,0 +1,15 @@ +$NetBSD: patch-Net-Bind.spec.PL,v 1.1 2017/06/09 16:55:10 ryoon Exp $ + +* Fix build with Perl 5.26.0 + +--- Net-Bind.spec.PL.orig 2002-04-18 01:56:57.000000000 +0000 ++++ Net-Bind.spec.PL +@@ -29,7 +29,7 @@ sub WriteMakefile { + die "Makefile.PL: Could not determine version!"; + } + } +-do "Makefile.PL"; ++do "./Makefile.PL"; + if ($name) { + $name =~ s/::/-/g; + } else { |