aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/p5-Test-Pod/Makefile11
-rw-r--r--devel/p5-Test-Pod/distinfo4
2 files changed, 11 insertions, 4 deletions
diff --git a/devel/p5-Test-Pod/Makefile b/devel/p5-Test-Pod/Makefile
index 6a32a2555bcd..b1f4ac9705ac 100644
--- a/devel/p5-Test-Pod/Makefile
+++ b/devel/p5-Test-Pod/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Test-Pod
-PORTVERSION= 1.12
+PORTVERSION= 1.14
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Test
@@ -25,4 +25,11 @@ PERL_CONFIGURE= yes
MAN3= Test::Pod.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+post-patch:
+ @${PERL} -pi -e 's/(my )?\$$dh/DH/g' ${WRKSRC}/Pod.pm
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/p5-Test-Pod/distinfo b/devel/p5-Test-Pod/distinfo
index c4cb1b227022..fb3da36387eb 100644
--- a/devel/p5-Test-Pod/distinfo
+++ b/devel/p5-Test-Pod/distinfo
@@ -1,2 +1,2 @@
-MD5 (Test-Pod-1.12.tar.gz) = 04137351d3a1cad405a9563511a9d1a7
-SIZE (Test-Pod-1.12.tar.gz) = 6518
+MD5 (Test-Pod-1.14.tar.gz) = 22cb237de042cff899f20e7e898027ec
+SIZE (Test-Pod-1.14.tar.gz) = 6543