aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2005-02-25 11:29:18 +0800
committerimp <imp@FreeBSD.org>2005-02-25 11:29:18 +0800
commitd82193b981a901159a01c01c3f23f8b8d03c6371 (patch)
tree20cfd2e51f112e7551fb87659afa644344549641
parent347b3b797f254a83feba70c65a71c2173d88b536 (diff)
downloadfreebsd-ports-graphics-d82193b981a901159a01c01c3f23f8b8d03c6371.tar.gz
freebsd-ports-graphics-d82193b981a901159a01c01c3f23f8b8d03c6371.tar.zst
freebsd-ports-graphics-d82193b981a901159a01c01c3f23f8b8d03c6371.zip
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.
-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 d1c5080879e..debb5a9e5b7 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: