diff options
-rw-r--r-- | comms/ib-kmod/Makefile | 8 |
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> |