Module Name:    src
Committed By:   martin
Date:           Thu Feb 21 08:20:19 UTC 2013

Modified Files:
        src/external/mit/xorg/bin/xdm/config: Makefile

Log Message:
Make the Xdm default config use vt05 for all arches that can switch
consoles while in X.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/external/mit/xorg/bin/xdm/config/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/bin/xdm/config/Makefile
diff -u src/external/mit/xorg/bin/xdm/config/Makefile:1.12 src/external/mit/xorg/bin/xdm/config/Makefile:1.13
--- src/external/mit/xorg/bin/xdm/config/Makefile:1.12	Wed Jun 13 19:44:14 2012
+++ src/external/mit/xorg/bin/xdm/config/Makefile	Thu Feb 21 08:20:19 2013
@@ -1,9 +1,21 @@
-#	$NetBSD: Makefile,v 1.12 2012/06/13 19:44:14 martin Exp $
+#	$NetBSD: Makefile,v 1.13 2013/02/21 08:20:19 martin Exp $
 
 .include <bsd.own.mk>
 
-# native only gives DEFAULTVT for i386 and amd64.
-.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" || ${MACHINE} == "cats"
+# DEFAULTVT for all arches that are able to switch virtual consoles
+# while in X (currently this needs WSDISPLAY_COMPAT_USL and
+# WSDISPLAY_COMPAT_PCVT, this might change soon)
+.if	   ${MACHINE_ARCH} == "x86_64" \
+	|| ${MACHINE_ARCH} == "cats" \
+	|| ${MACHINE_ARCH} == "hp700" \
+	|| ${MACHINE_ARCH} == "hpcmips" \
+	|| ${MACHINE_ARCH} == "hpcsh" \
+	|| ${MACHINE_ARCH} == "i386" \
+	|| ${MACHINE_ARCH} == "netwinder" \
+	|| ${MACHINE_ARCH} == "shark" \
+	|| ${MACHINE_ARCH} == "sparc" \
+	|| ${MACHINE_ARCH} == "sparc64" \
+	|| ${MACHINE_ARCH} == "zaurus"
 DEFAULTVT=vt05
 .else
 DEFAULTVT=	# defined empty

Reply via email to