aboutsummaryrefslogtreecommitdiff
path: root/devel/cscout
diff options
context:
space:
mode:
authorDiomidis Spinellis <dds@FreeBSD.org>2006-10-10 06:19:11 +0000
committerDiomidis Spinellis <dds@FreeBSD.org>2006-10-10 06:19:11 +0000
commit4dfd5ebf80189996fc945d11cb68a6d6d1d673d5 (patch)
treec571390cdfd0a96efc601ffcf0ee272b7ce79bc8 /devel/cscout
parent4377ba1a6ead8bb76fe04a83a6472a237277fe10 (diff)
downloadports-4dfd5ebf80189996fc945d11cb68a6d6d1d673d5.tar.gz
ports-4dfd5ebf80189996fc945d11cb68a6d6d1d673d5.zip
This port installs FreeBSD 6.x binaries.
Prohibit installation on versions < 6 Submitted by: kris
Notes
Notes: svn path=/head/; revision=175177
Diffstat (limited to 'devel/cscout')
-rw-r--r--devel/cscout/Makefile8
1 files changed, 7 insertions, 1 deletions
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 <bsd.port.pre.mk>
+
+.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 <bsd.port.mk>
+.include <bsd.port.post.mk>