diff options
author | Diomidis Spinellis <dds@FreeBSD.org> | 2006-10-10 06:19:11 +0000 |
---|---|---|
committer | Diomidis Spinellis <dds@FreeBSD.org> | 2006-10-10 06:19:11 +0000 |
commit | 4dfd5ebf80189996fc945d11cb68a6d6d1d673d5 (patch) | |
tree | c571390cdfd0a96efc601ffcf0ee272b7ce79bc8 /devel/cscout | |
parent | Remove ZendOptimizer, since we can distribute distfiles. (diff) |
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/Makefile | 8 |
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> |