summarylogtreecommitdiffstats
path: root/makefile.patch
blob: 6728cf7a9bb8fe5472864d0b637359e0665c0c5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff -Naur cdecl-2.5_orig/Makefile cdecl-2.5/Makefile
--- cdecl-2.5_orig/Makefile	1996-01-15 23:36:38.000000000 -0600
+++ cdecl-2.5/Makefile	2010-09-04 03:18:43.000000000 -0500
@@ -17,11 +17,12 @@
 
 CFLAGS= -s -O2 -DUSE_READLINE
 CC= gcc
-LIBS= -lreadline -ltermcap
+LIBS= -lreadline
 ALLFILES= makefile cdgram.y cdlex.l cdecl.c cdecl.1 testset testset++
-BINDIR= /usr/bin
-MANDIR= /usr/man/man1
-CATDIR= /usr/man/cat1
+PREFIX=/usr/local
+BINDIR= $(PREFIX)/bin
+MANDIR= $(PREFIX)/share/man/man1
+CATDIR= $(PREFIX)/share/man/cat1
 INSTALL= install -c
 INSTALL_DATA= install -c -m 644