summaryrefslogtreecommitdiff
path: root/textproc/iiimf-server/files/patch-iiimsf_src_IMSvrCfg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/iiimf-server/files/patch-iiimsf_src_IMSvrCfg.cpp')
-rw-r--r--textproc/iiimf-server/files/patch-iiimsf_src_IMSvrCfg.cpp13
1 files changed, 2 insertions, 11 deletions
diff --git a/textproc/iiimf-server/files/patch-iiimsf_src_IMSvrCfg.cpp b/textproc/iiimf-server/files/patch-iiimsf_src_IMSvrCfg.cpp
index c7b0457f8673..6e598be003d4 100644
--- a/textproc/iiimf-server/files/patch-iiimsf_src_IMSvrCfg.cpp
+++ b/textproc/iiimf-server/files/patch-iiimsf_src_IMSvrCfg.cpp
@@ -5,7 +5,7 @@
IMSvrCfg::initialize()
{
- initstr(IMDIR, "IM main directory.", "/usr/lib/im");
-+ initstr(IMDIR, "IM main directory.", "/usr/local/lib/im");
++ initstr(IMDIR, "IM main directory.", IM_DIRECTORY);
initstr(BASICLOCALE, "Locale used by default", "C");
#ifdef WIN32
initstr(IFPATHNAME, "Language Engine module directory",
@@ -13,16 +13,7 @@
#else
initstr(IFPATHNAME, "Language Engine module directory",
- "/usr/lib/im/leif");
-+ "/usr/local/lib/im/leif");
++ (IM_DIRECTORY "/leif"));
#endif
initstr(IFNAME, "Language Engine name", "");
initstr(PORT, "Port or service name", "9010");
-@@ -115,7 +115,7 @@
- initstr(CONVERSIONKEYS, "Conversion ON keys", "<Ctrl>space");
- initstr(LABEL, "Label type", "numeric");
- initbool(SETTRIGGEROFFKEYS, "set trigger off keys", false);
-- // initstr(IMCONFIG, "/usr/lib/im/etc/im.config");
-+ // initstr(IMCONFIG, "/usr/local/lib/im/etc/im.config");
- // initbool(DIRECT_XSUNIM, true);
- initstr(LOG_FACILITY, "syslog facility", "USER");
- initstr(LOG_LEVEL, "log level", "NORMAL");