ports/textproc/iiimf-server/files/patch-iiimsf_src_IMXMLUtil.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

20 lines
640 B
C++

--- iiimsf/src/IMXMLUtil.cpp Mon Oct 4 18:07:05 2004
+++ iiimsf/src/IMXMLUtil.cpp Wed Feb 16 20:38:34 2005
@@ -78,7 +78,7 @@
{
IMXMLModifier xml((const char *)argv[1]);
IMModuleInfoVec *lev;
- string mod("/usr/lib/im/leif/freewnnle.so");
+ string mod(IM_DIRECTORY "/leif/freewnnle.so");
string lang("ja");
string out("foo.conf");
@@ -101,7 +101,7 @@
}
*/
printf("\n\n*** remove\n");
- mod = "/usr/lib/im/leif/CannaLE.so";
+ mod = IM_DIRECTORY "/leif/CannaLE.so";
xml.removemodule(mod, lang);
/*
for (IMModuleInfoVec::iterator i = lev->begin (); i != lev->end (); i++) {