aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2004-08-10 10:58:32 +0800
committerkuriyama <kuriyama@FreeBSD.org>2004-08-10 10:58:32 +0800
commit0a9429ab63c987a1480502251d41f268eeddd355 (patch)
tree528cea42deb8a5c7d714877b0608e7f4d7e72b7c /sysutils
parent8d06aea980bcb090960be90ab7a9d75e772e79bb (diff)
downloadfreebsd-ports-graphics-0a9429ab63c987a1480502251d41f268eeddd355.tar.gz
freebsd-ports-graphics-0a9429ab63c987a1480502251d41f268eeddd355.tar.zst
freebsd-ports-graphics-0a9429ab63c987a1480502251d41f268eeddd355.zip
- Make depedency on p5-Time-HiRes conditional with perl-5.8.5.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/fastest_cvsup/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/sysutils/fastest_cvsup/Makefile b/sysutils/fastest_cvsup/Makefile
index 48aae4c4ad6..08985e8e860 100644
--- a/sysutils/fastest_cvsup/Makefile
+++ b/sysutils/fastest_cvsup/Makefile
@@ -13,11 +13,15 @@ MASTER_SITES= http://fastest-cvsup.sourceforge.net/download/
MAINTAINER= ports@FreeBSD.org
COMMENT= Finds fastest CVSup server
-RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes
-
USE_PERL5= yes
MAN7= fastest_cvsup.7
PLIST_FILES= bin/fastest_cvsup
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500805
+RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes
+.endif
+
+.include <bsd.port.post.mk>