summaryrefslogtreecommitdiff
path: root/mail/p5-razor-agents
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2015-09-06 17:13:56 +0000
committerwiz <wiz@pkgsrc.org>2015-09-06 17:13:56 +0000
commitc7b653016a94575a02009dcf8911d09372e829c4 (patch)
tree824e8ce06c80b44810fb2adcd1f660e605acd5e5 /mail/p5-razor-agents
parent2c80305cf2d42ed35bbf0b59118582c9bd14df2c (diff)
downloadpkgsrc-c7b653016a94575a02009dcf8911d09372e829c4.tar.gz
Fix build with perl-5.22.
From Petar Bogdanovic on pkgsrc-users.
Diffstat (limited to 'mail/p5-razor-agents')
-rw-r--r--mail/p5-razor-agents/distinfo3
-rw-r--r--mail/p5-razor-agents/patches/patch-Makefile.PL19
2 files changed, 21 insertions, 1 deletions
diff --git a/mail/p5-razor-agents/distinfo b/mail/p5-razor-agents/distinfo
index 4515645bbb2..88e00841f6b 100644
--- a/mail/p5-razor-agents/distinfo
+++ b/mail/p5-razor-agents/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.17 2009/12/25 17:50:52 heinz Exp $
+$NetBSD: distinfo,v 1.18 2015/09/06 17:13:56 wiz Exp $
SHA1 (razor-agents-2.85.tar.bz2) = bf5797ae9faf20f7e3635883767a95cdf0739ba9
RMD160 (razor-agents-2.85.tar.bz2) = c98096da14ff4fb772f6d7501e9d14c5b4b4e58f
Size (razor-agents-2.85.tar.bz2) = 81691 bytes
+SHA1 (patch-Makefile.PL) = 3cf45bd4cc64d293aa3854a39ff8b8290de1e91c
SHA1 (patch-aa) = 96c5f380b709cd3d13a1f65bcf706919f630339c
diff --git a/mail/p5-razor-agents/patches/patch-Makefile.PL b/mail/p5-razor-agents/patches/patch-Makefile.PL
new file mode 100644
index 00000000000..dec57d021d4
--- /dev/null
+++ b/mail/p5-razor-agents/patches/patch-Makefile.PL
@@ -0,0 +1,19 @@
+$NetBSD: patch-Makefile.PL,v 1.1 2015/09/06 17:13:56 wiz Exp $
+
+https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/issues/233
+
+index d6169fd..71aa604 100644
+--- Makefile.PL
++++ Makefile.PL
+@@ -140,9 +140,9 @@ sub MY::install {
+ my $inherited = $self->SUPER::install(@_);
+
+ my $man5 = q{ \\
+- $(INST_MAN5DIR) $(INSTALLMAN5DIR)};
++ "$(INST_MAN5DIR)" "$(INSTALLMAN5DIR)"};
+
+- $inherited =~ s/(\$\((?:DEST)?INSTALL\w*MAN1DIR\))/$1$man5/gm;
++ $inherited =~ s/(\$\((?:DEST)?INSTALL\w*MAN1DIR\)")/$1$man5/gm;
+
+ return $inherited;
+ }