1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

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:
Warner Losh 2005-02-25 03:29:18 +00:00
parent fc7c5ef303
commit c65eefc9fb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=129716

View File

@ -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: