1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/devel/cdecl/files/patch-01

22 lines
559 B
Plaintext
Raw Normal View History

--- Makefile.orig Mon Jan 15 21:36:38 1996
2000-02-14 06:57:44 +00:00
+++ Makefile Sun Feb 13 21:21:04 2000
@@ -15,13 +15,13 @@
#
# add -DUSE_READLINE To compile in support for the GNU readline library.
-CFLAGS= -s -O2 -DUSE_READLINE
2000-02-14 06:57:44 +00:00
-CC= gcc
+CFLAGS+= -s -DUSE_READLINE
2000-02-14 06:57:44 +00:00
+CC?= gcc
LIBS= -lreadline -ltermcap
ALLFILES= makefile cdgram.y cdlex.l cdecl.c cdecl.1 testset testset++
-BINDIR= /usr/bin
-MANDIR= /usr/man/man1
-CATDIR= /usr/man/cat1
+BINDIR= $(PREFIX)/bin
+MANDIR= $(PREFIX)/man/man1
+CATDIR= $(PREFIX/usr/man/cat1
INSTALL= install -c
INSTALL_DATA= install -c -m 644