From c65eefc9fb1c7f62c2983fcc85b2e8a2986c8489 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Fri, 25 Feb 2005 03:29:18 +0000 Subject: 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. --- graphics/kix-kmod/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'graphics/kix-kmod') 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: -- cgit v1.2.3