summaryrefslogtreecommitdiff
path: root/inputmethod/canuum/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'inputmethod/canuum/patches/patch-aa')
-rw-r--r--inputmethod/canuum/patches/patch-aa86
1 files changed, 57 insertions, 29 deletions
diff --git a/inputmethod/canuum/patches/patch-aa b/inputmethod/canuum/patches/patch-aa
index 8c133748d21..637b3942281 100644
--- a/inputmethod/canuum/patches/patch-aa
+++ b/inputmethod/canuum/patches/patch-aa
@@ -1,31 +1,35 @@
-$NetBSD: patch-aa,v 1.2 2002/06/10 09:55:00 sakamoto Exp $
-
---- Canna.conf- Fri Dec 1 00:31:14 2000
-+++ Canna.conf Fri Dec 1 00:31:36 2000
-@@ -130,10 +130,14 @@
+$NetBSD: patch-aa,v 1.3 2003/04/19 03:51:26 uebayasi Exp $
+--- Canna.conf.orig Thu Dec 5 22:25:03 2002
++++ Canna.conf Thu Dec 5 22:51:29 2002
+@@ -132,11 +132,11 @@
--cannaBinDir = /usr/local/canna/bin
--cannaSrvDir = /usr/local/canna/bin
--cannaLibDir = /usr/local/canna/lib
--cannaManDir = /usr/local/canna/man
--cannaIncDir = /usr/local/canna/include/canna
+ /* rootにならずにインストールする時はこれを定義して下さい */
+ /* #define InstallAsUser */
+-cannaPrefix = /usr/local/canna
++cannaPrefix = ${PREFIX}
+ cannaExecPrefix = $(cannaPrefix)
+ cannaBinDir = $(cannaExecPrefix)/bin
+-cannaSrvDir = $(cannaExecPrefix)/bin
+-cannaLibDir = $(cannaPrefix)/lib
++cannaSrvDir = $(cannaExecPrefix)/sbin
++cannaLibDir = $(cannaPrefix)/share/canna
+ cannaManDir = $(cannaPrefix)/man
+ cannaIncDir = $(cannaPrefix)/include/canna
+
+@@ -144,17 +144,19 @@
+ libCannaDir = $(cannaExecPrefix)/lib
+ ErrDir = $(cannaExecPrefix)/log
+ #else
-libCannaDir = /usr/lib
--
-ErrDir = /usr/spool/canna
-+cannaBinDir = ${PREFIX}/bin
-+cannaSrvDir = ${PREFIX}/sbin
-+cannaLibDir = ${PREFIX}/share/canna
-+cannaManDir = ${PREFIX}/man/ja_JP.EUC
-+cannaIncDir = ${PREFIX}/include/canna
-+libCannaDir = ${PREFIX}/lib
-+
++libCannaDir = $(cannaPrefix)/lib
+ErrDir = ${CANNA_SPOOL}
-+
-+/* INET6 related stuff */
-+INET6_DEFS = ${INET6}
-+INET6_LIBS = #-L/usr/local/v6/lib -linet6
+ #endif
-@@ -141,6 +145,6 @@
++INET6_DEFS = ${INET6}
++
+ /* 次の3行は変更しないでください */
+ wcharDefinition = -DCANNA_WCHAR
Wlib =
-JapaneseLocale = japanese
+JapaneseLocale = ja_JP.eucJP
@@ -35,20 +39,29 @@ $NetBSD: patch-aa,v 1.2 2002/06/10 09:55:00 sakamoto Exp $
+cannaOwner = ${CANNAOWNER}
+cannaGroup = ${CANNAGROUP}
-@@ -150,3 +154,3 @@
+ #ifdef InstallAsUser
+ cannaOwnerGroup =
+@@ -164,7 +166,7 @@
+
+ pointerIntegerDef =
-cannaDsoRev = 1
+cannaDsoRev = 1.0
/* SunOS 4.x をお使いの方で shared object を利用する場合には
-@@ -203,6 +207,5 @@
+ cannaDsoRev = 1.1
+ と指定してください。また、FreeBSD を利用する場合は、
+@@ -229,7 +231,7 @@
+ * コマンド類をリンクする時は、次を YES にしてくだい。
*/
--/* #define UseInstalledLibCanna YES */
+ /* #define UseInstalledLibCanna YES */
-#define UseInstalledLibCanna NO
+#define UseInstalledLibCanna YES
DicDir = $(cannaLibDir)/dic
-@@ -241,14 +244,14 @@
+@@ -274,18 +276,18 @@
+ DEPCANNALIB = $(libCannaDir)/libcanna.a
+ #endif
# endif
- CANNALIB = -L$(libCannaDir) -lcanna $(DLLIB)
+ CANNALIB = -Wl,-rpath,$(libCannaDir) -L$(libCannaDir) -lcanna $(DLLIB)
@@ -68,7 +81,11 @@ $NetBSD: patch-aa,v 1.2 2002/06/10 09:55:00 sakamoto Exp $
- CANNALIB = -L$(CANNASRC) -lcanna $(DLLIB)
+ CANNALIB = -Wl,-rpath,$(libCannaDir) -L$(libCannaDir) -lcanna $(DLLIB)
#endif /* UseInstalledLibCanna */
-@@ -261,10 +264,10 @@
+
+ #if UseInstalledLibCanna
+@@ -294,14 +296,14 @@
+ # else
+ DEPCANNALIB16 = $(libCannaDir)/libcanna16.a
# endif
- CANNALIB16 = -L$(libCannaDir) -lcanna16 $(DLLIB)
+ CANNALIB16 = -Wl,-rpath,$(libCannaDir) -L$(libCannaDir) -lcanna16 $(DLLIB)
@@ -81,5 +98,16 @@ $NetBSD: patch-aa,v 1.2 2002/06/10 09:55:00 sakamoto Exp $
+ DEPCANNALIB16 = $(libCannaDir)/libcanna16.a
# endif
- CANNALIB16 = -L$(CANNASRC) -lcanna16 $(DLLIB)
-+ CANNALIB16 = -Wl,-rpath,$(libCannaDir) -L$(libCannaDir) -lcanna16 $(DLLIB)
++ CANNALIB16 = -L$(libCannaDir) -lcanna16 $(DLLIB)
#endif /* UseInstalledLibCanna */
+
+ /*
+@@ -318,7 +320,7 @@
+ SCRIPTS_DEFINES =
+
+ #ifdef JAPANESEMAN
+-JMNLOCALE = ja
++JMNLOCALE = ja_JP.EUC
+ #endif
+
+ /* USE_OBSOLETE_STYLE_FILENAME を定義するための定義 */