summaryrefslogtreecommitdiff
path: root/app/xdm
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2007-03-04 13:58:19 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2007-03-04 13:58:19 +0000
commit1981c83703316407ba7132fd27129d380c6ac1df (patch)
treeff58dcec2ce71c2852c99ba08e83099107be457a /app/xdm
parent545477ef25196ee8df8181cb3e242bcd16b56b44 (diff)
Specify default VT in Xservers only on i386/amd64
Diffstat (limited to 'app/xdm')
-rw-r--r--app/xdm/Makefile.bsd-wrapper8
1 files changed, 6 insertions, 2 deletions
diff --git a/app/xdm/Makefile.bsd-wrapper b/app/xdm/Makefile.bsd-wrapper
index 1abbc17f6..a534a28b0 100644
--- a/app/xdm/Makefile.bsd-wrapper
+++ b/app/xdm/Makefile.bsd-wrapper
@@ -1,9 +1,13 @@
-# $OpenBSD: Makefile.bsd-wrapper,v 1.7 2007/01/29 18:38:46 matthieu Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.8 2007/03/04 13:58:18 matthieu Exp $
PIXMAPDIR=/etc/X11/xdm/pixmaps
+.if ${MACHINE} == i386 || ${MACHINE} == amd64
+DEFAULT_VT= --with-default-vt=vt05
+.endif
+
CONFIGURE_ARGS= --enable-privsep \
- --with-default-vt=vt05 \
+ $(DEFAULT_VT) \
--disable-dynamic-greeter \
--with-xdmlibdir=/etc/X11/xdm \
--with-pixmapdir=$(PIXMAPDIR) \