summaryrefslogtreecommitdiff
path: root/editors/joe-devel/files/patch-Makefile.in
blob: 52080da067a39901e883ca4bb95de8ed82ded3dd (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
--- Makefile.in.orig	Sun Apr  1 06:48:18 2001
+++ Makefile.in	Thu Jul 26 19:47:05 2001
@@ -47,7 +47,7 @@
 
 # C compiler options: make's built-in rules use this variable
 
-CFLAGS = -O2 -fsigned-char -fomit-frame-pointer -pipe
+CFLAGS += -fsigned-char -fomit-frame-pointer -pipe
 
 # You may have to include some extra libraries
 # for some systems
@@ -101,11 +101,11 @@
 
 	$(INSTALL_PROGRAM) -s termidx $(package_prefix)$(bindir)
 
-	if [ -a $(package_prefix)$(sysconfdir)/joerc ]; then echo; else $(INSTALL_DATA) joerc $(package_prefix)$(sysconfdir); fi
-	if [ -a $(package_prefix)$(sysconfdir)/jmacsrc ]; then echo; else $(INSTALL_DATA) jmacsrc $(package_prefix)$(sysconfdir); fi
-	if [ -a $(package_prefix)$(sysconfdir)/jstarrc ]; then echo; else $(INSTALL_DATA) jstarrc $(package_prefix)$(sysconfdir); fi
-	if [ -a $(package_prefix)$(sysconfdir)/rjoerc ]; then echo; else $(INSTALL_DATA) rjoerc $(package_prefix)$(sysconfdir); fi
-	if [ -a $(package_prefix)$(sysconfdir)/jpicorc ]; then echo; else $(INSTALL_DATA) jpicorc $(package_prefix)$(sysconfdir); fi
+	if [ -e $(package_prefix)$(sysconfdir)/joerc.dist ]; then echo; else $(INSTALL_DATA) joerc $(package_prefix)$(sysconfdir)/joerc.dist; fi
+	if [ -e $(package_prefix)$(sysconfdir)/jmacsrc.dist ]; then echo; else $(INSTALL_DATA) jmacsrc $(package_prefix)$(sysconfdir)/jmacsrc.dist; fi
+	if [ -e $(package_prefix)$(sysconfdir)/jstarrc.dist ]; then echo; else $(INSTALL_DATA) jstarrc $(package_prefix)$(sysconfdir)/jstarrc.dist; fi
+	if [ -e $(package_prefix)$(sysconfdir)/rjoerc.dist ]; then echo; else $(INSTALL_DATA) rjoerc $(package_prefix)$(sysconfdir)/rjoerc.dist; fi
+	if [ -e $(package_prefix)$(sysconfdir)/jpicorc.dist ]; then echo; else $(INSTALL_DATA) jpicorc $(package_prefix)$(sysconfdir)/jpicorc.dist; fi
 
 	rm -f $(package_prefix)$(man1dir)/joe.1
 	$(INSTALL_DATA) joe.1 $(package_prefix)$(man1dir)