source: trunk/dports/math/calc/files/patch-Makefile @ 23201

Last change on this file since 23201 was 23201, checked in by markd@…, 13 years ago

Closes #11093. Adds readline support and updates to 2.12.1.8.

File size: 1.9 KB
Line 
1--- Makefile.orig       2007-02-07 01:35:20.000000000 +0100
2+++ Makefile    2007-02-18 17:35:50.000000000 +0100
3@@ -571,7 +571,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@@ -598,15 +598,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@@ -669,7 +669,7 @@
32 #
33 # If in doubt, use T=
34 #
35-T=
36+T=___DESTROOT___
37 
38 # where man pages are installed
39 #
40@@ -680,7 +680,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@@ -785,22 +785,22 @@
50 #
51 # If in doubt, set USE_READLINE, READLINE_LIB and READLINE_INCLUDE to nothing.
52 #
53-USE_READLINE=
54-#USE_READLINE= -DUSE_READLINE
55+#USE_READLINE=
56+USE_READLINE= -DUSE_READLINE
57 #
58-READLINE_LIB=
59+#READLINE_LIB=
60 #READLINE_LIB= -lreadline -lhistory -lncurses
61 #READLINE_LIB= -L/usr/gnu/lib -lreadline -lhistory -lncurses
62-#READLINE_LIB= -L/usr/local/lib -lreadline -lhistory -lncurses
63+READLINE_LIB= -L___PREFIX___/lib -lreadline -lhistory -lncurses
64 #
65 # For Apple OS X: install fink from http://fink.sourceforge.net
66 #                and then do a 'fink install readline' and then use:
67 #
68 #READLINE_LIB= -L/sw/lib -lreadline -lhistory -lncurses
69 #
70-READLINE_INCLUDE=
71+#READLINE_INCLUDE=
72 #READLINE_INCLUDE= -I/usr/gnu/include
73-#READLINE_INCLUDE= -I/usr/local/include
74+READLINE_INCLUDE= -I___PREFIX___/include
75 
76 # If $PAGER is not set, use this program to display a help file
77 #
Note: See TracBrowser for help on using the repository browser.