aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2008-09-03 23:20:16 +0800
committerleeym <leeym@FreeBSD.org>2008-09-03 23:20:16 +0800
commita3764221112050e6a69dadcbb7bf98f06e0a5c14 (patch)
tree0033673a5723d54a7331311afb9776eebec893be
parent0445f5f1964e580283cf969322e5201be02148b2 (diff)
downloadfreebsd-ports-gnome-a3764221112050e6a69dadcbb7bf98f06e0a5c14.tar.gz
freebsd-ports-gnome-a3764221112050e6a69dadcbb7bf98f06e0a5c14.tar.zst
freebsd-ports-gnome-a3764221112050e6a69dadcbb7bf98f06e0a5c14.zip
- simplify dependency
- bump PORTREVISION
-rw-r--r--security/p5-Digest/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/security/p5-Digest/Makefile b/security/p5-Digest/Makefile
index 03f721e935ef..fa3a3bd0aa57 100644
--- a/security/p5-Digest/Makefile
+++ b/security/p5-Digest/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Digest
PORTVERSION= 1.15
+PORTREVISION= 1
CATEGORIES= security perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -14,11 +15,14 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Modules that calculate message digests
-BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
-RUN_DEPENDS= ${BUILD_DEPENDS}
-
PERL_CONFIGURE= yes
MAN3= Digest.3 Digest::base.3 Digest::file.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500703
+RUN_DEPENDS+= p5-MIME-Base64>=0:${PORTSDIR}/converters/p5-MIME-Base64
+.endif
+
+.include <bsd.port.post.mk>