aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/kbdcontrol/Makefile2
-rw-r--r--usr.sbin/kbdcontrol/lex.l1
2 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/kbdcontrol/Makefile b/usr.sbin/kbdcontrol/Makefile
index 42fa3e85a70a9..5a15ef3c9da6f 100644
--- a/usr.sbin/kbdcontrol/Makefile
+++ b/usr.sbin/kbdcontrol/Makefile
@@ -8,6 +8,4 @@ SRCS= kbdcontrol.c lex.l
WARNS?= 4
CFLAGS+= -I${.CURDIR}
-LIBADD= l
-
.include <bsd.prog.mk>
diff --git a/usr.sbin/kbdcontrol/lex.l b/usr.sbin/kbdcontrol/lex.l
index 9a1ea41f73e99..0568758d37089 100644
--- a/usr.sbin/kbdcontrol/lex.l
+++ b/usr.sbin/kbdcontrol/lex.l
@@ -36,6 +36,7 @@
%}
+%option noyywrap
%option nounput
%option noinput