aboutsummaryrefslogtreecommitdiffstats
path: root/comms/ib-kmod/Makefile
diff options
context:
space:
mode:
authorosa <osa@FreeBSD.org>2008-05-04 15:45:24 +0800
committerosa <osa@FreeBSD.org>2008-05-04 15:45:24 +0800
commit07d787e552b5838bfada3074902a4d10e0f91bbb (patch)
tree9a0517e26a61eaddb9ae6337e155061752e3bb3c /comms/ib-kmod/Makefile
parent3ed849ef9304add8c7a770f878092094dc1f6a5c (diff)
downloadfreebsd-ports-gnome-07d787e552b5838bfada3074902a4d10e0f91bbb.tar.gz
freebsd-ports-gnome-07d787e552b5838bfada3074902a4d10e0f91bbb.tar.zst
freebsd-ports-gnome-07d787e552b5838bfada3074902a4d10e0f91bbb.zip
Exclude releases less then FreeBSD 6.0-STABLE from build process.
Do not bump PORTREVISION. Reported by: pointyhat via pav@ Approved by: Tofig Suleymanov <tofig at freebsd dot az> (maintainer)
Diffstat (limited to 'comms/ib-kmod/Makefile')
-rw-r--r--comms/ib-kmod/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/comms/ib-kmod/Makefile b/comms/ib-kmod/Makefile
index 512ad2b69cde..7c8182189dee 100644
--- a/comms/ib-kmod/Makefile
+++ b/comms/ib-kmod/Makefile
@@ -24,6 +24,12 @@ KMODDIR?= /boot/modules
PLIST_FILES= "@cwd ${KMODDIR}" \
if_ib.ko
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 600031
+IGNORE= required FreeBSD 6.0-STABLE at least (if_alloc(), etc.)
+.endif
+
pre-fetch:
.if !exists(${SRC_BASE}/sys/Makefile)
@${ECHO} "*************************************************"; \
@@ -39,4 +45,4 @@ post-install:
@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>