diff options
author | Warner Losh <imp@FreeBSD.org> | 2005-02-25 03:29:18 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2005-02-25 03:29:18 +0000 |
commit | c65eefc9fb1c7f62c2983fcc85b2e8a2986c8489 (patch) | |
tree | 8f16df2d40157cf193d74520819f8544efd1dad6 /graphics/kix-kmod | |
parent | fc7c5ef303228b09cf5536f3ce6b02176adcafd8 (diff) |
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.
Notes
Notes:
svn path=/head/; revision=129716
Diffstat (limited to 'graphics/kix-kmod')
-rw-r--r-- | graphics/kix-kmod/Makefile | 4 |
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: |