diff options
author | imp <imp@FreeBSD.org> | 2005-02-25 11:29:18 +0800 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2005-02-25 11:29:18 +0800 |
commit | d82193b981a901159a01c01c3f23f8b8d03c6371 (patch) | |
tree | 20cfd2e51f112e7551fb87659afa644344549641 /graphics | |
parent | 347b3b797f254a83feba70c65a71c2173d88b536 (diff) | |
download | freebsd-ports-gnome-d82193b981a901159a01c01c3f23f8b8d03c6371.tar.gz freebsd-ports-gnome-d82193b981a901159a01c01c3f23f8b8d03c6371.tar.zst freebsd-ports-gnome-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.
Diffstat (limited to 'graphics')
-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: |