From 8cc4d9ea56f2a335b2b93dbcc78fa4f994551c62 Mon Sep 17 00:00:00 2001 From: erwin Date: Fri, 2 Jul 2004 06:43:28 +0000 Subject: Make dependency on p5-Digest conditional on perl version PR: 68577 Submitted by: David Lay --- security/p5-Digest-SHA1/Makefile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'security/p5-Digest-SHA1') diff --git a/security/p5-Digest-SHA1/Makefile b/security/p5-Digest-SHA1/Makefile index 681a95f..5fb871f 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 +.include + +.if ${PERL_LEVEL} < 500800 +BUILD_DEPENDS= ${SITE_PERL}/Digest.pm:${PORTSDIR}/security/p5-Digest +RUN_DEPENDS= ${BUILD_DEPENDS} +.endif + +.include -- cgit v1.1