diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2001-01-18 21:29:50 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2001-01-18 21:29:50 +0000 |
commit | 4ecb804e2b0fa1764661dc763126d009b5ff1f8c (patch) | |
tree | ac52a3e62d01408713daaa60c32ae1b348593a73 /japanese/rskkserv/files | |
parent | The previous problem was found to be due to mkmf.rb's bug. Now fixed. (diff) |
Update to 2.90.1.
Notes
Notes:
svn path=/head/; revision=37309
Diffstat (limited to 'japanese/rskkserv/files')
-rw-r--r-- | japanese/rskkserv/files/patch-Makefile | 29 | ||||
-rw-r--r-- | japanese/rskkserv/files/patch-rskkserv.conf | 29 |
2 files changed, 58 insertions, 0 deletions
diff --git a/japanese/rskkserv/files/patch-Makefile b/japanese/rskkserv/files/patch-Makefile new file mode 100644 index 000000000000..b01a4d9454b6 --- /dev/null +++ b/japanese/rskkserv/files/patch-Makefile @@ -0,0 +1,29 @@ +--- Makefile.orig Tue Jan 9 01:27:21 2001 ++++ Makefile Fri Jan 19 06:20:30 2001 +@@ -8,6 +8,11 @@ + datadir = $(prefix)/share + etcdir = $(prefix)/etc + libexecdir = $(prefix)/libexec ++skkdicbase = $(datadir)/share/skk ++epwdicbase = /opt/epwing ++skkdicsize = L ++ ++all: $(SKKSERV) $(CONFILE) + + $(SKKSERV): skkserv.rb.in + $(RUBY) -p -e 'sub %r%@exec_prefix@%, %q%$(exec_prefix)%' \ +@@ -15,7 +20,13 @@ + skkserv.rb.in > $@ + chmod 755 $@ + +-all: $(SKKSERV) ++$(CONFILE): $(CONFILE).in ++ $(RUBY) -p -e 'sub %r%@skkdicbase@%, %q%$(skkdicbase)%' \ ++ -e 'sub %r%@epwdicbase@%, %q%$(epwdicbase)%' \ ++ -e 'sub %r%@skkdicsize@%, %q%$(skkdicsize)%' \ ++ -e 'sub %r%(CACHEDIR\s*=\s*")[^"]*(")%, \ ++ %q%\\1${PREFIX}/share/skk\\2%' \ ++ $(CONFILE).in > $@ + + clean: + rm -f $(SKKSERV) *~ diff --git a/japanese/rskkserv/files/patch-rskkserv.conf b/japanese/rskkserv/files/patch-rskkserv.conf new file mode 100644 index 000000000000..dd28746f0841 --- /dev/null +++ b/japanese/rskkserv/files/patch-rskkserv.conf @@ -0,0 +1,29 @@ +--- rskkserv.conf.orig Thu Jan 11 16:37:27 2001 ++++ rskkserv.conf Fri Jan 19 06:06:57 2001 +@@ -9 +9 @@ +- DICFILE = "/usr/share/skk/SKK-JISYO.L" ++ DICFILE = "@skkdicbase@/SKK-JISYO.@skkdicsize@" +@@ -15 +15 @@ +- DICFILE = "/usr/share/skk/SKK-JISYO.JIS2" ++ DICFILE = "@skkdicbase@/SKK-JISYO.JIS2" +@@ -19 +19 @@ +-# DICFILE = "/usr/share/skk/SKK-JISYO.JIS3_4" ++# DICFILE = "@skkdicbase@/SKK-JISYO.JIS3_4" +@@ -23 +23 @@ +- DICFILE = "/usr/share/skk/SKK-JISYO.pubdic+" ++ DICFILE = "@skkdicbase@/SKK-JISYO.pubdic+" +@@ -27 +27 @@ +- DICFILE = "/usr/share/skk/SKK-JISYO.zipcode" ++ DICFILE = "@skkdicbase@/SKK-JISYO.zipcode" +@@ -31 +31 @@ +- DICFILE = "/usr/share/skk/SKK-JISYO.office.zipcode" ++ DICFILE = "@skkdicbase@/SKK-JISYO.office.zipcode" +@@ -37 +37 @@ +- DICDIR = "/opt/epwing/koujien" ++ DICDIR = "@epwdicbase@/koujien" +@@ -42 +42 @@ +- DICDIR = "/opt/epwing/mypaedia" ++ DICDIR = "@epwdicbase@/mypaedia-fpw" +@@ -47 +47 @@ +- DICDIR = "/opt/epwing/wdic" ++ DICDIR = "@epwdicbase@/wdic-fpw" |