From 4dfd5ebf80189996fc945d11cb68a6d6d1d673d5 Mon Sep 17 00:00:00 2001 From: Diomidis Spinellis Date: Tue, 10 Oct 2006 06:19:11 +0000 Subject: This port installs FreeBSD 6.x binaries. Prohibit installation on versions < 6 Submitted by: kris --- devel/cscout/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'devel/cscout') diff --git a/devel/cscout/Makefile b/devel/cscout/Makefile index 9f416fa963b1..7fcfa19faf8e 100644 --- a/devel/cscout/Makefile +++ b/devel/cscout/Makefile @@ -23,6 +23,12 @@ ONLY_FOR_ARCHS_REASON= The port fetches and installs precompiled binaries MAN1= cscout.1 cswc.1 +.include + +.if ${OSVERSION} < 600000 +IGNORE= fails to work on versions of FreeBSD before 6.0 (it installs FreeBSD 6.x binaries) +.endif + post-patch: .if exists(/usr/include/g++/) ${REINPLACE_CMD} -i "" -e 's:g++-3:g++:g' \ @@ -61,4 +67,4 @@ do-install: .endfor .endif -.include +.include -- cgit v1.2.3