aboutsummaryrefslogtreecommitdiff
path: root/graphics/kix-kmod/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/kix-kmod/Makefile')
-rw-r--r--graphics/kix-kmod/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/graphics/kix-kmod/Makefile b/graphics/kix-kmod/Makefile
index d1c5080879ef..debb5a9e5b7c 100644
--- a/graphics/kix-kmod/Makefile
+++ b/graphics/kix-kmod/Makefile
@@ -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: