summaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2005-02-25 04:28:00 +0000
committerimp <imp@FreeBSD.org>2005-02-25 04:28:00 +0000
commit64524c2c684e3b99d2b36400886c06083e3db7d6 (patch)
treeef0341144fc3f313d00a0c59afba4e7d69456210 /misc
parentc60144ab47748997b3076f6f90410cedf742f3c1 (diff)
downloadFreeBSD-ports-64524c2c684e3b99d2b36400886c06083e3db7d6.zip
FreeBSD-ports-64524c2c684e3b99d2b36400886c06083e3db7d6.tar.gz
Ignore warnings in the module build.
Check for kernel sources Honor SYSDIR overrides
Diffstat (limited to 'misc')
-rw-r--r--misc/matrix-kmod/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/misc/matrix-kmod/Makefile b/misc/matrix-kmod/Makefile
index 6a7f3e2..4dc9446 100644
--- a/misc/matrix-kmod/Makefile
+++ b/misc/matrix-kmod/Makefile
@@ -16,6 +16,11 @@ MAINTAINER= strijar@urai.ru
COMMENT= Screensaver for console (matrix_saver.ko) "Matrix" like
KMODDIR= ${PREFIX}/modules
+SYSDIR?= ${SRC_BASE}/sys
+.if !exists(${SYSDIR}/dev/syscons/syscons.h)
+IGNORE= Requires kernel source (/usr/src/sys) to build
+.endif
+MAKE_ENV+= WERROR=
.include <bsd.port.pre.mk>
OpenPOWER on IntegriCloud