1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/japanese/edict/files/patch-aa
Chris Piazza f6814941c6 Update to 19990714
PR:		12643
Submitted by:	maintainer
1999-07-17 17:13:47 +00:00

39 lines
1.2 KiB
Plaintext

--- Makefile.orig Wed Sep 16 04:08:01 1998
+++ Makefile Sat Jul 17 21:33:01 1999
@@ -54,7 +54,7 @@
#
#LIBS= -lsocket -lnsl
#
-CC=gcc -g
+#CC=gcc -g
all: xjdic_sa xjdic_cl xjdserver xjdxgen exjdxgen
client: xjdic_cl
server: xjdserver
@@ -80,7 +80,7 @@
#
SAOBJECTS = xjdsa.o xjdcomm_sa.o xjdservcomm_sa.o xjdfrontend_sa.o
#SACFLAGS = -DXJDFRONTEND -DXJDDIC -DDEMAND_PAGING
-SACFLAGS = -DXJDFRONTEND -DXJDDIC -DMMAP
+SACFLAGS = -D__STRICT_BSD__ -DXJDFRONTEND -DXJDDIC -DMMAP ${CFLAGS}
#SACFLAGS = -DXJDFRONTEND -DXJDDIC -DRAM_LOAD
xjdic_sa: $(SAOBJECTS)
$(CC) $(SAOBJECTS) -o xjdic_sa
@@ -97,7 +97,7 @@
# C L I E N T
#
CLOBJECTS = xjdclient.o xjdcomm_cl.o xjdfrontend_cl.o
-CLCFLAGS = -DXJDFRONTEND -DXJDCLSERV
+CLCFLAGS = -D__STRICT_BSD__ -DXJDFRONTEND -DXJDCLSERV ${CFLAGS}
xjdic_cl: $(CLOBJECTS)
$(CC) $(CLOBJECTS) $(LIBS) -o xjdic_cl
xjdclient.o: xjdclient.c
@@ -112,7 +112,7 @@
#
SVOBJECTS = xjdcomm_sv.o xjdservcomm_sv.o xjdserver.o
#SVCFLAGS = -DXJDDIC -DXJDCLSERV -DDEMAND_PAGING
-SVCFLAGS = -DXJDDIC -DXJDCLSERV -DMMAP
+SVCFLAGS = -DXJDDIC -DXJDCLSERV -DMMAP ${CFLAGS}
#SVCFLAGS = -DXJDDIC -DXJDCLSERV -DRAM_LOAD
xjdserver: $(SVOBJECTS)
$(CC) $(SVOBJECTS) $(LIBS) -o xjdserver