Fix building at 5.x.
Submitted by: Nick Barkas <snb at threerings.net> (maintainer by email)
This commit is contained in:
parent
c129558154
commit
f4492d59ff
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=175037
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user