Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/mit/xorg/bin/xdm/config Make the Xdm default config...



details:   https://anonhg.NetBSD.org/src/rev/bb3a627358a5
branches:  trunk
changeset: 785081:bb3a627358a5
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Feb 21 08:20:19 2013 +0000

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

diffstat:

 external/mit/xorg/bin/xdm/config/Makefile |  18 +++++++++++++++---
 1 files changed, 15 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r f09ea8b9b803 -r bb3a627358a5 external/mit/xorg/bin/xdm/config/Makefile
--- a/external/mit/xorg/bin/xdm/config/Makefile Thu Feb 21 08:07:24 2013 +0000
+++ b/external/mit/xorg/bin/xdm/config/Makefile Thu Feb 21 08:20:19 2013 +0000
@@ -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



Home | Main Index | Thread Index | Old Index