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

28 lines
713 B
Plaintext
Raw Normal View History

1999-08-02 05:26:20 +00:00
--- Makefile.orig Sat Jul 31 14:33:44 1999
+++ Makefile Sun Aug 1 22:21:37 1999
@@ -19,11 +19,11 @@
1999-08-02 05:26:20 +00:00
EXTRA_CFLAGS = -DQSTAT23 # -DCOMPRESSOR_BZIP2 -DDEBUG
-CC = gcc
-CFLAGS = -O2 -g -Wall `gtk-config --cflags` $(EXTRA_CFLAGS)
-LDFLAGS = `gtk-config --libs`
+CC ?= gcc
1999-08-02 05:26:20 +00:00
+CFLAGS += -Wall `gtk12-config --cflags` $(EXTRA_CFLAGS)
+LDFLAGS = `gtk12-config --libs`
-INSTALL_ROOT = /usr/local
+INSTALL_ROOT = ${PREFIX}
TARGET = xqf
1999-08-02 05:26:20 +00:00
@@ -46,7 +46,7 @@
$(CC) $(CFLAGS) $(CPPFLAGS) -MM $$i; done) > Makefile
install:
- install -s -m 755 -g root -o root $(TARGET) $(INSTALL_ROOT)/bin
1999-08-02 05:26:20 +00:00
+ ${INSTALL_PROGRAM} $(TARGET) $(INSTALL_ROOT)/bin
1999-08-02 05:26:20 +00:00
dist-clean clean:
rm -f *.[oasi] *~ core $(TARGET) Makefile.old