summaryrefslogtreecommitdiff
path: root/graphics/kix-kmod
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2005-02-25 03:29:18 +0000
committerWarner Losh <imp@FreeBSD.org>2005-02-25 03:29:18 +0000
commitc65eefc9fb1c7f62c2983fcc85b2e8a2986c8489 (patch)
tree8f16df2d40157cf193d74520819f8544efd1dad6 /graphics/kix-kmod
parentFix the packing list so that when the port is deinstalled, (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/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: