openbsd-ports/chinese/c2t/patches/patch-01
kevlo fa58941a00 Respect CFLAGS.
Reported by naddy@
2001-03-01 03:19:43 +00:00

16 lines
308 B
Plaintext

--- Makefile.orig Wed Feb 24 06:21:39 1993
+++ Makefile Thu Mar 1 10:44:58 2001
@@ -1,9 +1,9 @@
-CC=cc
+CC=cc -DCHINDICT=\"$(PREFIX)/share/chinese/gb/TONEPY.tit\"
all: c2t
c2t: c2t.o
- $(CC) -O -o c2t c2t.o
+ $(CC) $(CFLAGS) -o c2t c2t.o
c2t.o: c2t.c
- $(CC) -O -c c2t.c
+ $(CC) $(CFLAGS) -c c2t.c