Ticket #11093: patch-Makefile

File patch-Makefile, 1.3 KB (added by vinc17@…, 18 years ago)

New files/patch-Makefile that fixes the bug

Line 
1--- Makefile.old        2006-09-18 15:13:25.000000000 +0200
2+++ Makefile    2006-12-02 13:43:18.000000000 +0100
3@@ -572,7 +572,7 @@
4 
5 #INCDIR= /usr/local/include
6 #INCDIR= /dev/env/DJDIR/include
7-INCDIR= /usr/include
8+INCDIR= ___PREFIX___/include
9 
10 # Where to install calc realted things
11 #
12@@ -599,15 +599,15 @@
13 #
14 #BINDIR= /usr/local/bin
15 #BINDIR= /dev/env/DJDIR/bin
16-BINDIR= /usr/bin
17+BINDIR= ___PREFIX___/bin
18 
19 #LIBDIR= /usr/local/lib
20 #LIBDIR= /dev/env/DJDIR/lib
21-LIBDIR= /usr/lib
22+LIBDIR= ___PREFIX___/lib
23 
24 #CALC_SHAREDIR= /usr/local/lib/calc
25 #CALC_SHAREDIR= /dev/env/DJDIR/share/calc
26-CALC_SHAREDIR= /usr/share/calc
27+CALC_SHAREDIR= ___PREFIX___/share/calc
28 
29 #CALC_INCDIR= /usr/local/include/calc
30 #CALC_INCDIR= /dev/env/DJDIR/include/calc
31@@ -670,7 +670,7 @@
32 #
33 # If in doubt, use T=
34 #
35-T=
36+T=___DESTROOT___
37 
38 # where man pages are installed
39 #
40@@ -681,7 +681,7 @@
41 #MANDIR=
42 #MANDIR= /usr/local/man/man1
43 #MANDIR= /usr/man/man1
44-MANDIR= /usr/share/man/man1
45+MANDIR= ___PREFIX___/share/man/man1
46 #MANDIR= /dev/env/DJDIR/man/man1
47 #MANDIR= /usr/man/u_man/man1
48 #MANDIR= /usr/contrib/man/man1
49@@ -1006,7 +1006,7 @@
50 CCWARN= -Wall -W -Wno-comment
51 CCWERR=
52 CCOPT= ${DEBUG} ${NO_SHARED}
53-CCMISC=
54+CCMISC= -I___PREFIX___/include
55 #
56 CFLAGS= -DCALC_SRC ${CCWARN} ${CCOPT} ${CCMISC}
57 ICFLAGS= -DCALC_SRC ${CCWARN} ${CCMISC}