1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/textproc/gdict/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

15 lines
377 B
Plaintext

--- Makefile Mon Mar 29 08:02:27 1999
+++ Makefile~ Thu Jul 22 22:25:09 1999
@@ -1,8 +1,8 @@
# Makefile for gdict
-CC = gcc
-CFLAGS = -O6 -Wall
-CFL_GTK = $(CFLAGS) `gtk-config --cflags` `gtk-config --libs`
+CC ?= gcc
+CFLAGS ?= -O6 -Wall
+CFL_GTK = $(CFLAGS) `$(GTK_CONFIG) --cflags` `$(GTK_CONFIG) --libs`
CFL = $(CFLAGS)
OBJECTS_GDICT = gdict.c
OBJECTS_DICT = dict.c