1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/net/ggsd/files/patch-aa
Steve Price 89b7d2a446 - Use GTK_CONFIG/GLIB_CONFIG instead of hardcoded gtk12-config/glib12-config
- Support CC/CFLAGS/PREIFX/LOCALBASE/X11BASE/MAKE/etc. properly

PR:		19623
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
2000-07-07 19:59:26 +00:00

14 lines
359 B
Plaintext

--- Makefile.orig Fri Feb 12 16:22:22 1999
+++ Makefile Sat Jul 1 18:31:53 2000
@@ -1,6 +1,7 @@
-CC=gcc
-CFLAGS=-Wall -O -DUSE_GUI `gtk-config --cflags` -DVERSION=\"0.1\"
-LIBS=`gtk-config --libs`
+CC?=gcc
+CFLAGS?=-O
+CFLAGS+=-DUSE_GUI `$(GTK_CONFIG) --cflags` -DVERSION=\"0.1\"
+LIBS=`$(GTK_CONFIG) --libs`
all:
$(CC) $(CFLAGS) -o ggsd ggsd.c $(LIBS)