diff options
author | Boris Samorodov <bsam@FreeBSD.org> | 2006-10-09 06:35:55 +0000 |
---|---|---|
committer | Boris Samorodov <bsam@FreeBSD.org> | 2006-10-09 06:35:55 +0000 |
commit | f4492d59ff6005f90c242415f60608da9254b1ca (patch) | |
tree | 7795cf03acee5c923560d557737276a5e04475a1 | |
parent | - Expose one more header (diff) |
Fix building at 5.x.
Submitted by: Nick Barkas <snb at threerings.net> (maintainer by email)
-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 |