ports/textproc/iiimf-server/files/patch-iiimsf_src_IMSvrCfg.cpp
Daichi GOTO c164ad94cf IIIMF-related ports some changes:
- support CFLAGS of /etc/make.conf
  - replace absolute path with ${LOCALBASE}, ${PREFIX} and others
  - replace -pthread flags with ${THREAD*}
  - m17n fixed of gnome-im-swither
  - fixed vid krisbot

Submitted by:	Masanori OZAWA <ozawa@ongs.co.jp>
2005-03-04 11:38:18 +00:00

19 lines
677 B
C++

--- iiimsf/src/IMSvrCfg.cpp Mon Oct 4 18:07:05 2004
+++ iiimsf/src/IMSvrCfg.cpp Wed Feb 16 20:38:05 2005
@@ -90,14 +90,14 @@
void
IMSvrCfg::initialize()
{
- initstr(IMDIR, "IM main directory.", "/usr/lib/im");
+ initstr(IMDIR, "IM main directory.", IM_DIRECTORY);
initstr(BASICLOCALE, "Locale used by default", "C");
#ifdef WIN32
initstr(IFPATHNAME, "Language Engine module directory",
"D:\\WINNT\\System32\\iiimf");
#else
initstr(IFPATHNAME, "Language Engine module directory",
- "/usr/lib/im/leif");
+ (IM_DIRECTORY "/leif"));
#endif
initstr(IFNAME, "Language Engine name", "");
initstr(PORT, "Port or service name", "9010");