1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/japanese/dbskkd-cdb/files/patch-aa
Satoshi Taoka 307d24f0f8 Yet another dictionary server for SKK
PR:		12513
Submitted by:	Makoto Matsushita <matusita@jp.FreeBSD.ORG>
1999-09-08 17:08:42 +00:00

22 lines
745 B
Plaintext

--- Makefile.dist Wed Jun 16 15:26:04 1999
+++ Makefile Fri Jun 18 14:17:15 1999
@@ -2,7 +2,8 @@
# $Id: Makefile,v 1.6 1998/12/12 11:24:36 kenji Exp $
# please define SERVERDIR
-SERVERDIR = /usr/local/libexec
+SERVERDIR = ${PREFIX}/libexec
+JISHOFILE = ${PREFIX}/share/dbskkd-cdb/${SKKJISYO}.cdb
# for FreeBSD-2.x and BSD/OS (without shlib)
CC = gcc -O -g
COMPAT =
@@ -17,7 +18,7 @@
$(CC) $(LDFLAGS) -o dbskkd-cdb dbskkd-cdb.o $(LDFLAGS)
dbskkd-cdb.o: dbskkd-cdb.c
- $(CC) $(COMPAT) $(PRIVATE) -DSERVER_DIR=\"$(SERVERDIR)\" -c dbskkd-cdb.c
+ $(CC) $(COMPAT) $(PRIVATE) -DJISHO_FILE=\"$(JISHOFILE)\" -DSERVER_DIR=\"$(SERVERDIR)\" -c dbskkd-cdb.c
install: dbskkd-cdb
cp dbskkd-cdb $(SERVERDIR); chmod 755 $(SERVERDIR)/dbskkd-cdb