Since this module doesn't compile cleaning with the warnings it has
requested, pass down WERROR= to keep the build from failing. Also, since the build system passes SYSDIR for non-standard kernel source locations, honor that variable when insisting that the kernel source be available.
This commit is contained in:
parent
fc7c5ef303
commit
c65eefc9fb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=129716
@ -14,9 +14,11 @@ PKGNAMESUFFIX= -kmod
|
||||
MAINTAINER= jon@witchspace.com
|
||||
COMMENT= A graphical screensaver kernel module
|
||||
|
||||
.if !exists(/usr/src/sys/dev/syscons/syscons.h)
|
||||
SYSDIR?= /usr/src/sys
|
||||
.if !exists(${SYSDIR}/dev/syscons/syscons.h)
|
||||
IGNORE= Requires kernel source (/usr/src/sys) to build
|
||||
.endif
|
||||
MAKE_ENV+= WERROR=
|
||||
PLIST_FILES= lib/kix_saver.ko
|
||||
|
||||
do-install:
|
||||
|
Loading…
Reference in New Issue
Block a user