diff options
author | steve <steve@FreeBSD.org> | 2000-07-08 03:59:26 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 2000-07-08 03:59:26 +0800 |
commit | 7879264d29ab2a706345ab21de9f9cd3139efc7a (patch) | |
tree | 0fb8a7b052271f54c6bdf617de3027472d998225 /games/xqf/files | |
parent | c691dd330a3da8e70bfc74508b9fb3b585604a4d (diff) | |
download | freebsd-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-aa | 6 |
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 |