mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
28 lines
713 B
Plaintext
28 lines
713 B
Plaintext
--- Makefile.orig Sat Jul 31 14:33:44 1999
|
|
+++ Makefile Sun Aug 1 22:21:37 1999
|
|
@@ -19,11 +19,11 @@
|
|
|
|
EXTRA_CFLAGS = -DQSTAT23 # -DCOMPRESSOR_BZIP2 -DDEBUG
|
|
|
|
-CC = gcc
|
|
-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`
|
|
|
|
-INSTALL_ROOT = /usr/local
|
|
+INSTALL_ROOT = ${PREFIX}
|
|
|
|
TARGET = xqf
|
|
|
|
@@ -46,7 +46,7 @@
|
|
$(CC) $(CFLAGS) $(CPPFLAGS) -MM $$i; done) > Makefile
|
|
|
|
install:
|
|
- install -s -m 755 -g root -o root $(TARGET) $(INSTALL_ROOT)/bin
|
|
+ ${INSTALL_PROGRAM} $(TARGET) $(INSTALL_ROOT)/bin
|
|
|
|
dist-clean clean:
|
|
rm -f *.[oasi] *~ core $(TARGET) Makefile.old
|