]> git.pld-linux.org Git - packages/joe.git/blob - joe-config.patch
- revision up to 19,
[packages/joe.git] / joe-config.patch
1 --- joe/Makefile.marc   Mon Jan 23 01:01:28 1995
2 +++ joe/Makefile        Wed Jan  3 11:37:34 1996
3 @@ -9,8 +9,8 @@
4  # to go and where you want the man page
5  # to go:
6  
7 -WHEREJOE = /usr/local/bin
8 -WHERERC = /usr/local/lib
9 +WHEREJOE = /usr/bin
10 +WHERERC = /usr/lib/joe
11  WHEREMAN = /usr/man/man1
12  
13  # If you want to use TERMINFO, you have to set
14 @@ -27,7 +27,7 @@
15  
16  # C compiler options: make's built-in rules use this variable
17  
18 -CFLAGS = -O
19 +CFLAGS = $(RPM_OPT_FLAGS)
20  
21  # C compiler to use: make's built-in rules use this variable
22  
23 @@ -45,7 +45,7 @@
24  # add '-ltinfo', '-lcurses' or '-ltermlib',
25  # depending on the system.
26  
27 -EXTRALIBS =
28 +EXTRALIBS = -lncurses
29  
30  # Object files
31  
32 @@ -88,13 +88,12 @@
33         strip joe
34         strip termidx
35         if [ ! -d $(WHEREJOE) ]; then mkdir $(WHEREJOE); chmod a+rx $(WHEREJOE); fi
36 -       rm -f $(WHEREJOE)/joe $(WHEREJOE)/jmacs $(WHEREJOE)/jstar $(WHEREJOE)/jpico $(WHEREJOE)/rjoe $(WHEREJOE)/termidx
37 +       rm -f $(WHEREJOE)/joe $(WHEREJOE)/jmacs $(WHEREJOE)/jstar $(WHEREJOE)/jpico $(WHEREJOE)/rjoe 
38         mv joe $(WHEREJOE)
39         ln $(WHEREJOE)/joe $(WHEREJOE)/jmacs
40         ln $(WHEREJOE)/joe $(WHEREJOE)/jstar
41         ln $(WHEREJOE)/joe $(WHEREJOE)/rjoe
42         ln $(WHEREJOE)/joe $(WHEREJOE)/jpico
43 -       mv termidx $(WHEREJOE)
44         if [ ! -d $(WHERERC) ]; then mkdir $(WHERERC); chmod a+rx $(WHERERC); fi
45         rm -f $(WHERERC)/joerc $(WHERERC)/jmacsrc $(WHERERC)/jstarrc $(WHERERC)/jpicorc $(WHERERC)/rjoerc $(WHEREMAN)/joe.1
46         cp joerc $(WHERERC)
47 @@ -114,13 +113,6 @@
48         chmod a+r $(WHERERC)/rjoerc
49         chmod a+r $(WHERERC)/jpicorc
50         chmod a+r $(WHEREMAN)/joe.1
51 -       chmod a+x $(WHEREJOE)/termidx
52 -       rm -f $(WHERERC)/termcap
53 -       cp termcap $(WHERERC)/termcap
54 -       chmod a+r $(WHERERC)/termcap
55 -       rm -f $(WHERERC)/terminfo
56 -       cp terminfo $(WHERERC)/terminfo
57 -       chmod a+r $(WHERERC)/terminfo
58  
59  # Cleanup proceedure
60  
This page took 0.066423 seconds and 3 git commands to generate.