1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/games/xqf/files/patch-aa
Steve Price 8bedffff36 Update to version 0.8.99.2. Also honor CFLAGS and PREFIX.
PR:		11567
Submitted by:	Chris Piazza <cpiazza@home.net>
1999-05-09 16:59:33 +00:00

31 lines
862 B
Plaintext

--- Makefile.orig Fri May 7 11:03:16 1999
+++ Makefile Sat May 8 17:26:49 1999
@@ -17,13 +17,13 @@
# -DDEBUG
#
-EXTRA_CFLAGS = # -DQSTAT23 -DCOMPRESSOR_BZIP2 # -DDEBUG
+EXTRA_CFLAGS = -DQSTAT23 #-DCOMPRESSOR_BZIP2 # -DDEBUG
-CC = gcc
-CFLAGS = -O2 -g -Wall `gtk-config --cflags` $(EXTRA_CFLAGS)
-LDFLAGS = `gtk-config --libs`
+CC ?= gcc
+CFLAGS += `gtk12-config --cflags` $(EXTRA_CFLAGS)
+LDFLAGS = `gtk12-config --libs`
-INSTALL_ROOT = /usr/local
+INSTALL_ROOT = ${PREFIX}
TARGET = xqf
OBJS = xqf.o xqf-ui.o game.o pref.o server.o stat.o rc.o dialogs.o \
@@ -43,7 +43,7 @@
$(CC) $(CFLAGS) $(CPPFLAGS) -MM $$i; done) > Makefile
install:
- install -s -m 755 -g root -o root $(TARGET) $(INSTALL_ROOT)/bin
+ install -c -s -m 755 -g wheel -o root $(TARGET) $(INSTALL_ROOT)/bin
clean:
rm -f *.[oasi] *~ core $(TARGET) Makefile.old