aboutsummaryrefslogtreecommitdiffstats
path: root/security/p5-Digest-MD5/Makefile
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2005-12-30 00:50:10 +0800
committerleeym <leeym@FreeBSD.org>2005-12-30 00:50:10 +0800
commitaf3735e9908c5c59560d061452c272ef2e711e3e (patch)
tree295e11c027d15fe796681dd86d9a98cba50ea858 /security/p5-Digest-MD5/Makefile
parentee2c0ed25a4c6a7e8864bb2b0326e3f7f24d4eb5 (diff)
downloadfreebsd-ports-gnome-af3735e9908c5c59560d061452c272ef2e711e3e.tar.gz
freebsd-ports-gnome-af3735e9908c5c59560d061452c272ef2e711e3e.tar.zst
freebsd-ports-gnome-af3735e9908c5c59560d061452c272ef2e711e3e.zip
- Update to 2.36
PR: based on ports/90009 Submitted by: leeym Approved by: maintainer timeout
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>