aboutsummaryrefslogtreecommitdiffstats
path: root/games/xqf/files
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>2000-07-08 03:59:26 +0800
committersteve <steve@FreeBSD.org>2000-07-08 03:59:26 +0800
commit7879264d29ab2a706345ab21de9f9cd3139efc7a (patch)
tree0fb8a7b052271f54c6bdf617de3027472d998225 /games/xqf/files
parentc691dd330a3da8e70bfc74508b9fb3b585604a4d (diff)
downloadfreebsd-ports-gnome-7879264d29ab2a706345ab21de9f9cd3139efc7a.tar.gz
freebsd-ports-gnome-7879264d29ab2a706345ab21de9f9cd3139efc7a.tar.zst
freebsd-ports-gnome-7879264d29ab2a706345ab21de9f9cd3139efc7a.zip
- 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>
Diffstat (limited to 'games/xqf/files')
-rw-r--r--games/xqf/files/patch-aa6
1 files changed, 3 insertions, 3 deletions
diff --git a/games/xqf/files/patch-aa b/games/xqf/files/patch-aa
index ca7fccaa8f75..1f9cf6f14d5f 100644
--- a/games/xqf/files/patch-aa
+++ b/games/xqf/files/patch-aa
@@ -8,8 +8,8 @@
-CFLAGS = -O2 -g -Wall `gtk-config --cflags` $(EXTRA_CFLAGS)
-LDFLAGS = `gtk-config --libs`
+CC ?= gcc
-+CFLAGS += -Wall `gtk12-config --cflags` $(EXTRA_CFLAGS)
-+LDFLAGS = `gtk12-config --libs`
++CFLAGS += `$(GTK_CONFIG) --cflags` $(EXTRA_CFLAGS)
++LDFLAGS = `$(GTK_CONFIG) --libs`
-INSTALL_ROOT = /usr/local
+INSTALL_ROOT = ${PREFIX}
@@ -21,7 +21,7 @@
install:
- install -s -m 755 -g root -o root $(TARGET) $(INSTALL_ROOT)/bin
-+ ${INSTALL_PROGRAM} $(TARGET) $(INSTALL_ROOT)/bin
++ ${BSD_INSTALL_PROGRAM} $(TARGET) $(INSTALL_ROOT)/bin
dist-clean clean:
rm -f *.[oasi] *~ core $(TARGET) Makefile.old