Fix vt switching when Xkb is disabled.
This commit is contained in:
parent
14bf83b326
commit
3127bf40e5
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: Makefile,v 1.7 2008/10/14 23:37:19 cube Exp $
|
# $NetBSD: Makefile,v 1.8 2008/12/21 21:20:03 jmcneill Exp $
|
||||||
|
|
||||||
DRIVER= xf86-input-keyboard
|
DRIVER= xf86-input-keyboard
|
||||||
DRIVER_NAME= kbd_drv
|
DRIVER_NAME= kbd_drv
|
||||||
|
@ -6,7 +6,11 @@ DRIVER_NAME= kbd_drv
|
||||||
SRCS= kbd.c bsd_KbdMap.c bsd_kbd.c at_scancode.c
|
SRCS= kbd.c bsd_KbdMap.c bsd_kbd.c at_scancode.c
|
||||||
MAN= kbd.4
|
MAN= kbd.4
|
||||||
|
|
||||||
|
.if ${MACHINE} == "i386" || ${MACHINE_ARCH} == "x86_64"
|
||||||
|
CPPFLAGS+= -DPCVT_SUPPORT
|
||||||
|
.endif
|
||||||
CPPFLAGS+= -DWSCONS_SUPPORT
|
CPPFLAGS+= -DWSCONS_SUPPORT
|
||||||
|
CPPFLAGS+= -DXKB
|
||||||
CPPFLAGS.kbd.c= -D__XKBDEFRULES__=${__XKBDEFRULES__}
|
CPPFLAGS.kbd.c= -D__XKBDEFRULES__=${__XKBDEFRULES__}
|
||||||
|
|
||||||
X11EXTRAMANDEFS+= -e 's,__xkb_path__,${X11LIBDIR}/xkb,g'
|
X11EXTRAMANDEFS+= -e 's,__xkb_path__,${X11LIBDIR}/xkb,g'
|
||||||
|
|
Loading…
Reference in New Issue