summaryrefslogtreecommitdiff
path: root/xserver/Makefile.bsd-wrapper
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2007-05-25 16:30:12 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2007-05-25 16:30:12 +0000
commit338588a97e65333efcaa4394ecb2b8618e9fe345 (patch)
tree9ef3f5c1a4fd148d47823032d218c702fbbd6ab5 /xserver/Makefile.bsd-wrapper
parentaf7383d7c7d8ca32ca682b480d4a698bec3642ae (diff)
Add a way to build Xwscons for those who want to hack on it.
Diffstat (limited to 'xserver/Makefile.bsd-wrapper')
-rw-r--r--xserver/Makefile.bsd-wrapper13
1 files changed, 11 insertions, 2 deletions
diff --git a/xserver/Makefile.bsd-wrapper b/xserver/Makefile.bsd-wrapper
index 54e1110ee..e6f0ab06e 100644
--- a/xserver/Makefile.bsd-wrapper
+++ b/xserver/Makefile.bsd-wrapper
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.bsd-wrapper,v 1.15 2007/05/25 16:15:41 matthieu Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.16 2007/05/25 16:30:11 matthieu Exp $
DIST= ${.CURDIR}
@@ -29,6 +29,7 @@ NO_XF86_UTIL_OPTION=${NO_XF86_UTIL_${MACHINE}}
MESA_SOURCE= --with-mesa-source=${XSRCDIR}/dist/Mesa
.endif
+.if !defined(KDRIVE)
CONFIGURE_ARGS= --localstatedir=/var --sysconfdir=/etc/X11 \
--with-xkb-path=/etc/X11/xkb \
--with-xkb-output=/var/db/xkb \
@@ -36,5 +37,13 @@ CONFIGURE_ARGS= --localstatedir=/var --sysconfdir=/etc/X11 \
--enable-install-setuid --enable-privsep \
--disable-dmx ${NO_XORG_OPTION} ${NO_XF86_UTIL_OPTION} \
${NO_XPRINT_OPTION}
-
+.else
+CONFIGURE_ARGS= --localstatedir=/var --sysconfdir=/etc/X11 \
+ --disable-xorg \
+ --enable-kdrive \
+ --disable-dmx \
+ --disable-xprint \
+ --disable-xnest \
+ --disable-xvfb
+.endif
.include <bsd.xorg.mk>