summaryrefslogtreecommitdiffstats
path: root/tdm/config.def
diff options
context:
space:
mode:
authorOBATA Akio <obache@wizdas.com>2019-04-06 16:49:26 +0900
committerSlávek Banko <slavek.banko@axis.cz>2019-08-18 15:36:50 +0200
commit4741832142e091d641fb8a90607b4595accb905d (patch)
tree31f31b6389635adc523c7a33f873a9562e1adadb /tdm/config.def
parent0aaebc24cd00c9dd833c16dd14d1814948baac38 (diff)
downloadtdebase-4741832142e091d641fb8a90607b4595accb905d.tar.gz
tdebase-4741832142e091d641fb8a90607b4595accb905d.zip
Revive NetBSD support
Catch up to TDE and OS changes Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit 2a88ec3c02ab46c8b816cfa348ea53075f57a59c)
Diffstat (limited to 'tdm/config.def')
-rw-r--r--tdm/config.def10
1 files changed, 8 insertions, 2 deletions
diff --git a/tdm/config.def b/tdm/config.def
index 5cfc56ed5..4209c8212 100644
--- a/tdm/config.def
+++ b/tdm/config.def
@@ -79,6 +79,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
@@ -1368,9 +1374,9 @@ Description:
Key: ServerArgsLocal
Type: string
-Default: "-nolisten tcp"
+Default: DEF_SERVER_ARGS
User: core
-Instance: :*/"-deferglyphs 16 -nolisten tcp"
+Instance: :*/"-deferglyphs 16 " DEF_SERVER_ARGS
Comment: &
Description:
Additional arguments for the &X-Server;s for local sessions.