aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2008-09-04 02:19:14 +0800
committerleeym <leeym@FreeBSD.org>2008-09-04 02:19:14 +0800
commit87392a413b2d9fdbd280bd279b4bf38816c8833d (patch)
treef5eec0076eb89aa82d028b9544280415033e3dfb /security
parente984906dae45a562c9641851a7a6edd3d7d53df5 (diff)
downloadfreebsd-ports-gnome-87392a413b2d9fdbd280bd279b4bf38816c8833d.tar.gz
freebsd-ports-gnome-87392a413b2d9fdbd280bd279b4bf38816c8833d.tar.zst
freebsd-ports-gnome-87392a413b2d9fdbd280bd279b4bf38816c8833d.zip
- simplify dependency
- bump PORTREVISION
Diffstat (limited to 'security')
-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>