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

17 lines
324 B
Plaintext

--- Makefile.orig Tue Aug 11 04:14:48 1992
+++ Makefile Thu Mar 1 10:49:51 2001
@@ -1,9 +1,11 @@
# Makefile of LUNAR
-CFLAGS= -O
+CFLAGS= -O -DBITMAPFILE=\"$(BITMAPFILE)\"
+
+BITMAPFILE= $(PREFIX)/share/chinese/lunar.bitmap
lunar: lunar.o
- cc -o lunar lunar.o
+ cc $(CFLAGS) -o lunar lunar.o
clean:
rm *.o core