1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/devel/cdecl/files/patch-01
David E. O'Brien 2bc00d96c9 Cdecl composes compilable C declarations and typecasts from descriptive
English phrases, and can also explain a complicated typecast or declaration.
It handles ANSI C, C++, pre-ANSI C, and K&R C, and has TAB completion of
keywords and line editing and history (provided by the GNU readline library).
1999-09-05 05:07:08 +00:00

21 lines
549 B
Plaintext

--- Makefile.orig Mon Jan 15 21:36:38 1996
+++ Makefile Sat Sep 4 22:02:21 1999
@@ -15,13 +15,13 @@
#
# add -DUSE_READLINE To compile in support for the GNU readline library.
-CFLAGS= -s -O2 -DUSE_READLINE
+CFLAGS+= -s -DUSE_READLINE
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