aboutsummaryrefslogtreecommitdiff
path: root/security/p5-Digest-MD5/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/p5-Digest-MD5/Makefile')
-rw-r--r--security/p5-Digest-MD5/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/security/p5-Digest-MD5/Makefile b/security/p5-Digest-MD5/Makefile
index 3073e87f0a08..1d2ceebbf466 100644
--- a/security/p5-Digest-MD5/Makefile
+++ b/security/p5-Digest-MD5/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Digest-MD5
-PORTVERSION= 2.33
+PORTVERSION= 2.36
CATEGORIES= security perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Digest
@@ -20,6 +20,12 @@ RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
-MAN3= Digest::MD5.3
+MAN3= Digest::MD5.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+post-patch:
+ ${PERL} -pi -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1); $$1/;' ${WRKSRC}/MD5.pm
+ ${PERL} -pi -e '$$_ = "" if m{5.006}' ${WRKSRC}/Makefile.PL
+
+.include <bsd.port.post.mk>