diff options
-rw-r--r-- | sysutils/ipmi-kmod/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sysutils/ipmi-kmod/Makefile b/sysutils/ipmi-kmod/Makefile index fd157987dfde..288b6acd3aae 100644 --- a/sysutils/ipmi-kmod/Makefile +++ b/sysutils/ipmi-kmod/Makefile @@ -26,10 +26,6 @@ KMODDIR= /boot/modules .include <bsd.port.pre.mk> -.if ${OSVERSION} < 600000 -BROKEN= Does not compile -.endif - ONLY_FOR_ARCHS= i386 amd64 # Don't strip module on amd64 systems @@ -47,6 +43,11 @@ IGNORE= already in the base system IGNORE= does not support FreeBSD before 5.3 .endif +# Need to include this extra path on 5.x. +.if ${OSVERSION} < 600000 +CFLAGS+= -I@/contrib/dev/acpica +.endif + do-install: @${MKDIR} ${PREFIX}/include/sys ${INSTALL_DATA} ${WRKSRC}/sys/ipmi.h ${PREFIX}/include/sys |