aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authordwhite <dwhite@FreeBSD.org>2000-06-05 11:31:25 +0800
committerdwhite <dwhite@FreeBSD.org>2000-06-05 11:31:25 +0800
commit540cdefc7815f87891c86b125114991e0cd03566 (patch)
tree5d77b494986c1c4cd40800ab9a788b0630d222aa /devel
parent99a145ee653414c09a1f490d5c43bd8ab8ec2903 (diff)
downloadfreebsd-ports-gnome-540cdefc7815f87891c86b125114991e0cd03566.tar.gz
freebsd-ports-gnome-540cdefc7815f87891c86b125114991e0cd03566.tar.zst
freebsd-ports-gnome-540cdefc7815f87891c86b125114991e0cd03566.zip
Require OSVERSION 400018 or later, so kqueue actually exists.
Diffstat (limited to 'devel')
-rw-r--r--devel/py-kqueue/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/py-kqueue/Makefile b/devel/py-kqueue/Makefile
index ad026d163bb5..9ece8f1639b0 100644
--- a/devel/py-kqueue/Makefile
+++ b/devel/py-kqueue/Makefile
@@ -17,6 +17,12 @@ MAINTAINER= dwhite@FreeBSD.org
BUILD_DEPENDS= python:${PORTSDIR}/lang/python
RUN_DEPENDS= python:${PORTSDIR}/lang/python
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 400018
+FORBIDDEN= requires kqueue (added post-4.0-RELEASE)
+.endif
+
# NO_WRKSUBDIR= yes
# MAKEFILE= makefile
@@ -34,4 +40,4 @@ do-install:
# ${INSTALL_DATA} ${WRKSRC}/kjbuckets.html ${PREFIX}/share/doc/
# .endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>