freebsd-ports/games/mindguard/files/patch-aa
2000-10-05 06:36:23 +00:00

16 lines
448 B
Plaintext

--- Makefile.orig Sun May 21 23:03:01 2000
+++ Makefile Thu Jul 27 23:41:05 2000
@@ -1,9 +1,10 @@
BINDIR = /usr/local/bin
MGDIR = /usr/local/share/MindGuard
-CC = gcc
+CC ?= gcc
+CFLAGS ?= -O -pipe
mindguard: mindguard.c
- $(CC) `gtk-config --cflags` mindguard.c -o mindguard `gtk-config --libs`
+ $(CC) -DX11BASE=\"${X11BASE}\" `${GTK_CONFIG} --cflags` ${CFLAGS} mindguard.c -o mindguard `${GTK_CONFIG} --libs`
clean:
rm -f mindguard