updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / cdecl / makefile.patch
blob6728cf7a9bb8fe5472864d0b637359e0665c0c5c
1 diff -Naur cdecl-2.5_orig/Makefile cdecl-2.5/Makefile
2 --- cdecl-2.5_orig/Makefile 1996-01-15 23:36:38.000000000 -0600
3 +++ cdecl-2.5/Makefile 2010-09-04 03:18:43.000000000 -0500
4 @@ -17,11 +17,12 @@
6 CFLAGS= -s -O2 -DUSE_READLINE
7 CC= gcc
8 -LIBS= -lreadline -ltermcap
9 +LIBS= -lreadline
10 ALLFILES= makefile cdgram.y cdlex.l cdecl.c cdecl.1 testset testset++
11 -BINDIR= /usr/bin
12 -MANDIR= /usr/man/man1
13 -CATDIR= /usr/man/cat1
14 +PREFIX=/usr/local
15 +BINDIR= $(PREFIX)/bin
16 +MANDIR= $(PREFIX)/share/man/man1
17 +CATDIR= $(PREFIX)/share/man/cat1
18 INSTALL= install -c
19 INSTALL_DATA= install -c -m 644