aboutsummaryrefslogtreecommitdiff
path: root/comms/ib-kmod
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2008-05-04 07:45:24 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2008-05-04 07:45:24 +0000
commitd70e2151e7be749c5f91ea2edb01d31202e167b5 (patch)
treef7670adbc57eab18700830c094acb46a37278e05 /comms/ib-kmod
parent0cc0999d00edabafd05dd054c53772d14a45975e (diff)
downloadports-d70e2151e7be749c5f91ea2edb01d31202e167b5.tar.gz
ports-d70e2151e7be749c5f91ea2edb01d31202e167b5.zip
Notes
Diffstat (limited to 'comms/ib-kmod')
-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>