$NetBSD: patch-kdm_config.def,v 1.1 2012/03/19 19:44:03 markd Exp $

NetBSD server args

--- kdm/config.def.orig	2009-07-30 07:44:51.000000000 +1200
+++ kdm/config.def
@@ -74,6 +74,12 @@
 #else
 # define DEF_SERVER_CMD XBINDIR "/X"
 #endif
+
+#if defined(__NetBSD__) && !defined(__powerpc__)
+# define DEF_SERVER_ARGS "-nolisten tcp vt05"
+#else
+# define DEF_SERVER_ARGS "-nolisten tcp"
+#endif
 </code>
 
 # The contents of this section are copied mostly verbatim to the
@@ -1361,7 +1367,7 @@ Key: ServerArgsLocal
 Type: string
 Default: ""
 User: core
-Instance: :*/"-nolisten tcp"
+Instance: :*/DEF_SERVER_ARGS
 Comment: &
 Description:
  Additional arguments for the &X-Server;s for local sessions.
