freebsd-ports/editors/gxedit/files/patch-ae
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

15 lines
386 B
Plaintext

--- gtk-shell-src/Makefile.orig Fri Mar 19 16:38:47 1999
+++ gtk-shell-src/Makefile Mon Apr 5 17:08:12 1999
@@ -1,7 +1,8 @@
BIN_DIR =
-CFLAGS = `gtk-config --cflags` -O -I. -Wall
-LIBS = `gtk-config --libs`
-CC = gcc
+CFLAGS ?= -O2
+CFLAGS += `$(GTK_CONFIG) --cflags` -I.
+LIBS = `$(GTK_CONFIG) --libs`
+CC ?= gcc
all:
$(CC) $(CFLAGS) -o $(BIN_DIR)gtk-shell gtk-shell.c $(LIBS)