1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/misc/display/files/patch-ab
Kris Kennaway 9f29f5a57e Respect CC
2000-01-21 09:01:10 +00:00

30 lines
664 B
Plaintext

--- Makefile.in.orig Fri Nov 12 11:46:27 1999
+++ Makefile.in Fri Jan 21 00:59:30 2000
@@ -2,10 +2,13 @@
# vix 15dec86 [stolen from 'which']
# start changing
-CFLAGS = -O
-DEST_DIR = /usr/local/bin
-CURSES_LIBS = -lcurses -ltermcap
-MAN_DIR = /usr/man/man1
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+CFLAGS = @CFLAGS@
+CC = @CC@
+DEST_DIR = @bindir@
+CURSES_LIBS = -lncurses
+MAN_DIR = @mandir@/man1
MAN_SUFFIX = 1
SHAR_ARGS = -b -c -v
# stop changing
@@ -16,7 +19,7 @@
all : display
display : display.c
- cc $(CFLAGS) -o $@ display.c $(CURSES_LIBS)
+ $(CC) $(CFLAGS) -o $@ display.c $(CURSES_LIBS)
strip display
install : all