aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2004-07-02 14:43:28 +0800
committererwin <erwin@FreeBSD.org>2004-07-02 14:43:28 +0800
commit8cc4d9ea56f2a335b2b93dbcc78fa4f994551c62 (patch)
tree2d118d6ef1bf69691ad5360e289b436b80744beb /security
parent0ef2bedfc9d10310ca1210e9d6a8d969424432a0 (diff)
downloadfreebsd-ports-graphics-8cc4d9ea56f2a335b2b93dbcc78fa4f994551c62.tar.gz
freebsd-ports-graphics-8cc4d9ea56f2a335b2b93dbcc78fa4f994551c62.tar.zst
freebsd-ports-graphics-8cc4d9ea56f2a335b2b93dbcc78fa4f994551c62.zip
Make dependency on p5-Digest conditional on perl version
PR: 68577 Submitted by: David Lay <dsl@webize.com.au>
Diffstat (limited to 'security')
-rw-r--r--security/p5-Digest-SHA1/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/security/p5-Digest-SHA1/Makefile b/security/p5-Digest-SHA1/Makefile
index 681a95fc993..5fb871f9dca 100644
--- a/security/p5-Digest-SHA1/Makefile
+++ b/security/p5-Digest-SHA1/Makefile
@@ -15,11 +15,15 @@ PKGNAMEPREFIX= p5-
MAINTAINER= erwin@FreeBSD.org
COMMENT= Perl interface to the SHA-1 Algorithm
-BUILD_DEPENDS= ${SITE_PERL}/Digest.pm:${PORTSDIR}/security/p5-Digest
-RUN_DEPENDS= ${BUILD_DEPENDS}
-
PERL_CONFIGURE= yes
MAN3= Digest::SHA1.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500800
+BUILD_DEPENDS= ${SITE_PERL}/Digest.pm:${PORTSDIR}/security/p5-Digest
+RUN_DEPENDS= ${BUILD_DEPENDS}
+.endif
+
+.include <bsd.port.post.mk>