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/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/security/p5-Digest-MD5/Makefile b/security/p5-Digest-MD5/Makefile
index 0ef9e532b1dd..0b89071682d1 100644
--- a/security/p5-Digest-MD5/Makefile
+++ b/security/p5-Digest-MD5/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Digest-MD5
PORTVERSION= 2.36
+PORTREVISION= 1
CATEGORIES= security perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -14,17 +15,14 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Perl5 interface to the MD5 algorithm
-BUILD_DEPENDS= ${SITE_PERL}/Digest.pm:${PORTSDIR}/security/p5-Digest
-RUN_DEPENDS:= ${BUILD_DEPENDS}
-
PERL_CONFIGURE= yes
MAN3= Digest::MD5.3
.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
+.if ${PERL_LEVEL} < 500803
+RUN_DEPENDS+= ${SITE_PERL}/Digest/base.pm:${PORTSDIR}/security/p5-Digest
+.endif
.include <bsd.port.post.mk>