unifdef support for xkeyboard-config.

I don't know why cvs didn't pick up this chunk. Noticed by okan@
This commit is contained in:
matthieu 2011-08-31 12:31:51 +00:00
parent a40b5df9e7
commit 5e01252a10

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile.bsd-wrapper,v 1.37 2011/05/30 10:52:58 shadchin Exp $
# $OpenBSD: Makefile.bsd-wrapper,v 1.38 2011/08/31 12:31:51 matthieu Exp $
.include <bsd.xconf.mk>
@ -31,15 +31,9 @@ DRI_OPTION= --enable-dri --enable-dri2 \
DRI_OPTION= --disable-dri --disable-dri2
.endif
.if ${XENOCARA_USE_XKEYBOARD_CONFIG:L} == "yes"
XKB_PATH= ${X11BASE}/share/X11/xkb
XKB_RULES= base
XKB_OPTIONS= terminate:ctrl_alt_bksp
.else
XKB_PATH= /etc/X11/xkb
XKB_RULES= xorg
XKB_OPTIONS=
.endif
CONFIGURE_ARGS= --localstatedir=/var --sysconfdir=/etc/X11 \
--with-xkb-path=${XKB_PATH} \