summaryrefslogtreecommitdiffstats
path: root/devel/cscout
diff options
context:
space:
mode:
authordds <dds@FreeBSD.org>2006-10-10 06:19:11 +0000
committerdds <dds@FreeBSD.org>2006-10-10 06:19:11 +0000
commit7d01e889d50febfcdbc5141c2a8aa64a8dc3d206 (patch)
tree960b6a9bf3b788b5e0f998fe66029a6d2fce1f61 /devel/cscout
parent21f703531a7f272972a43d80c56f0e60c09123c3 (diff)
downloadFreeBSD-ports-7d01e889d50febfcdbc5141c2a8aa64a8dc3d206.zip
FreeBSD-ports-7d01e889d50febfcdbc5141c2a8aa64a8dc3d206.tar.gz
This port installs FreeBSD 6.x binaries.
Prohibit installation on versions < 6 Submitted by: kris
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 9f416fa..7fcfa19 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>
OpenPOWER on IntegriCloud