summaryrefslogtreecommitdiff
path: root/databases/tkgnats/files/patch-aa
blob: 260cf84d02334c633d4f628ab18d783e587bc8fc (plain) (blame)
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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
--- Makefile.orig	Tue Mar 16 09:03:58 1999
+++ Makefile	Thu Sep 14 18:30:28 2000
@@ -5,7 +5,7 @@
 #################################################
 
 # WISHPROG can be a full path or just program name.
-WISHPROG	= wish
+WISHPROG	= wish8.2
 
 # Set GNATS=network if you _are_ using the GNATS daemon "gnatsd".
 # Set GNATS=local   if you're going to access disk files directly.
@@ -16,7 +16,7 @@
 
 ########## TkGnats installation locations
 
-prefix		= /usr/local
+prefix		= $(PREFIX)
 
 ########## tkgnats executable location
 BINDIR		= $(prefix)/bin
@@ -231,70 +231,70 @@
 install_man:
 	-$(MAKEPATH) $(MANDIR)
 	-$(MAKEPATH) $(MANDIR)/man1
-	@chmod 664 $(manfiles)
+	@chmod 644 $(manfiles)
 	for f in $(manfiles); do \
 	    cp -p $$f $(MANDIR)/man1/$$f; \
 	done
 
 $(T_BIN)/tkgnats: tkgnats Makefile
 	$(SED) $(WISH_SED) $(TKGNATSLIB_SED) <tkgnats >$@
-	@chmod 775 $@
+	@chmod 755 $@
 
 $(T_LIB)/CHANGES: CHANGES
 	cp -p CHANGES $@
-	@chmod 664 $@
+	@chmod 644 $@
 
 $(T_LIB)/VERSION: VERSION
 	cp -p VERSION $@
-	@chmod 664 $@
+	@chmod 644 $@
 
 $(T_LIB)/tkeditpr.tcl: tkeditpr.tcl Makefile
 	cp -p tkeditpr.tcl $@
-	@chmod 664 $@
+	@chmod 644 $@
 
 $(T_LIB)/tkviewpr.tcl: tkviewpr.tcl Makefile
 	cp -p tkviewpr.tcl $@
-	@chmod 664 $@
+	@chmod 644 $@
 
 $(T_LIB)/tksendpr.tcl: tksendpr.tcl Makefile
 	cp -p tksendpr.tcl $@
-	@chmod 664 $@
+	@chmod 644 $@
 
 $(T_LIB)/tkquerypr.tcl: tkquerypr.tcl Makefile
 	cp -p tkquerypr.tcl $@
-	@chmod 664 $@
+	@chmod 644 $@
 
 $(T_LIB)/tkprdatesel.tcl: tkprdatesel.tcl Makefile
 	cp -p tkprdatesel.tcl $@
-	@chmod 664 $@
+	@chmod 644 $@
 
 $(T_LIB)/tkprfolder.tcl: tkprfolder.tcl Makefile
 	cp -p tkprfolder.tcl $@
-	@chmod 664 $@
+	@chmod 644 $@
 
 $(T_LIB)/tkprfont.tcl: tkprfont.tcl Makefile
 	cp -p tkprfont.tcl $@
-	@chmod 664 $@
+	@chmod 644 $@
 
 $(T_LIB)/tkpr_library.tcl: tkpr_library.tcl Makefile
 	cp -p tkpr_library.tcl $@
-	@chmod 664 $@
+	@chmod 644 $@
 
 $(T_LIB)/tkprprint.tcl: tkprprint.tcl Makefile
 	cp -p tkprprint.tcl $@
-	@chmod 664 $@
+	@chmod 644 $@
 
 $(T_LIB)/tkprsort.tcl: tkprsort.tcl Makefile
 	cp -p tkprsort.tcl $@
-	@chmod 664 $@
+	@chmod 644 $@
 
 $(T_LIB)/tkprhelp.tcl: tkprhelp.tcl Makefile
 	cp -p tkprhelp.tcl $@
-	@chmod 664 $@
+	@chmod 644 $@
 
 $(T_LIB)/tkgnats.doc: tkgnats.doc Makefile
 	cp -p tkgnats.doc $@
-	@chmod 664 $@
+	@chmod 644 $@
 
 # Again, the following ugliness is intentional and works on Linux, Solaris 2.5 and IRIX64 6.2.
 
@@ -325,7 +325,7 @@
 	  echo cp -p tkgnats.config $@; \
 	  cp -p tkgnats.config $@; \
 	fi;
-	@chmod 664 $@
+	@chmod 644 $@
 
 # The following was OK on my Linux system but failed on Solaris and IRIX64.
 
@@ -339,19 +339,19 @@
 
 $(T_LIB)/tkgnats.xbm: tkgnats.xbm Makefile
 	cp -p tkgnats.xbm $@
-	@chmod 664 $@
+	@chmod 644 $@
 
 $(T_LIB)/tkquerypr.xbm: tkquerypr.xbm Makefile
 	cp -p tkquerypr.xbm $@
-	@chmod 664 $@
+	@chmod 644 $@
 
 $(T_LIB)/tksendpr.xbm: tksendpr.xbm Makefile
 	cp -p tksendpr.xbm $@
-	@chmod 664 $@
+	@chmod 644 $@
 
 $(T_LIB)/tkeditpr.xbm: tkeditpr.xbm Makefile
 	cp -p tkeditpr.xbm $@
-	@chmod 664 $@
+	@chmod 644 $@
 
 package: clean
 	rm -f VERSION