summaryrefslogtreecommitdiff
path: root/editors/joe/patches/patch-aa
blob: 119c42f52db3d302b019c785156aefb689c4ca0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
$NetBSD: patch-aa,v 1.3 1998/08/07 10:40:32 agc Exp $

*** Makefile.orig	Mon Jan 23 01:01:28 1995
--- Makefile	Mon Apr  6 16:29:17 1998
***************
*** 9,17 ****
  # to go and where you want the man page
  # to go:
  
! WHEREJOE = /usr/local/bin
! WHERERC = /usr/local/lib
! WHEREMAN = /usr/man/man1
  
  # If you want to use TERMINFO, you have to set
  # the following variable to 1.  Also you have to
--- 9,17 ----
  # to go and where you want the man page
  # to go:
  
! WHEREJOE = ${PREFIX}/bin
! WHERERC = ${PREFIX}/lib
! WHEREMAN = ${PREFIX}/man/man1
  
  # If you want to use TERMINFO, you have to set
  # the following variable to 1.  Also you have to
***************
*** 27,33 ****
  
  # C compiler options: make's built-in rules use this variable
  
! CFLAGS = -O
  
  # C compiler to use: make's built-in rules use this variable
  
--- 27,33 ----
  
  # C compiler options: make's built-in rules use this variable
  
! # CFLAGS = -O
  
  # C compiler to use: make's built-in rules use this variable
  
***************
*** 45,51 ****
  # add '-ltinfo', '-lcurses' or '-ltermlib',
  # depending on the system.
  
! EXTRALIBS =
  
  # Object files
  
--- 45,51 ----
  # add '-ltinfo', '-lcurses' or '-ltermlib',
  # depending on the system.
  
! EXTRALIBS = -ltermcap
  
  # Object files
  
***************
*** 84,100 ****
  
  # Install proceedure
  
! install: joe termidx
  	strip joe
! 	strip termidx
  	if [ ! -d $(WHEREJOE) ]; then mkdir $(WHEREJOE); chmod a+rx $(WHEREJOE); fi
! 	rm -f $(WHEREJOE)/joe $(WHEREJOE)/jmacs $(WHEREJOE)/jstar $(WHEREJOE)/jpico $(WHEREJOE)/rjoe $(WHEREJOE)/termidx
  	mv joe $(WHEREJOE)
  	ln $(WHEREJOE)/joe $(WHEREJOE)/jmacs
  	ln $(WHEREJOE)/joe $(WHEREJOE)/jstar
  	ln $(WHEREJOE)/joe $(WHEREJOE)/rjoe
  	ln $(WHEREJOE)/joe $(WHEREJOE)/jpico
! 	mv termidx $(WHEREJOE)
  	if [ ! -d $(WHERERC) ]; then mkdir $(WHERERC); chmod a+rx $(WHERERC); fi
  	rm -f $(WHERERC)/joerc $(WHERERC)/jmacsrc $(WHERERC)/jstarrc $(WHERERC)/jpicorc $(WHERERC)/rjoerc $(WHEREMAN)/joe.1
  	cp joerc $(WHERERC)
--- 84,100 ----
  
  # Install proceedure
  
! install: joe # termidx
  	strip joe
! #	strip termidx
  	if [ ! -d $(WHEREJOE) ]; then mkdir $(WHEREJOE); chmod a+rx $(WHEREJOE); fi
! 	rm -f $(WHEREJOE)/joe $(WHEREJOE)/jmacs $(WHEREJOE)/jstar $(WHEREJOE)/jpico $(WHEREJOE)/rjoe # $(WHEREJOE)/termidx
  	mv joe $(WHEREJOE)
  	ln $(WHEREJOE)/joe $(WHEREJOE)/jmacs
  	ln $(WHEREJOE)/joe $(WHEREJOE)/jstar
  	ln $(WHEREJOE)/joe $(WHEREJOE)/rjoe
  	ln $(WHEREJOE)/joe $(WHEREJOE)/jpico
! #	mv termidx $(WHEREJOE)
  	if [ ! -d $(WHERERC) ]; then mkdir $(WHERERC); chmod a+rx $(WHERERC); fi
  	rm -f $(WHERERC)/joerc $(WHERERC)/jmacsrc $(WHERERC)/jstarrc $(WHERERC)/jpicorc $(WHERERC)/rjoerc $(WHEREMAN)/joe.1
  	cp joerc $(WHERERC)
***************
*** 114,126 ****
  	chmod a+r $(WHERERC)/rjoerc
  	chmod a+r $(WHERERC)/jpicorc
  	chmod a+r $(WHEREMAN)/joe.1
! 	chmod a+x $(WHEREJOE)/termidx
! 	rm -f $(WHERERC)/termcap
! 	cp termcap $(WHERERC)/termcap
! 	chmod a+r $(WHERERC)/termcap
! 	rm -f $(WHERERC)/terminfo
! 	cp terminfo $(WHERERC)/terminfo
! 	chmod a+r $(WHERERC)/terminfo
  
  # Cleanup proceedure
  
--- 114,126 ----
  	chmod a+r $(WHERERC)/rjoerc
  	chmod a+r $(WHERERC)/jpicorc
  	chmod a+r $(WHEREMAN)/joe.1
! #	chmod a+x $(WHEREJOE)/termidx
! #	rm -f $(WHERERC)/termcap
! #	cp termcap $(WHERERC)/termcap
! #	chmod a+r $(WHERERC)/termcap
! #	rm -f $(WHERERC)/terminfo
! #	cp terminfo $(WHERERC)/terminfo
! #	chmod a+r $(WHERERC)/terminfo
  
  # Cleanup proceedure