View | Details | Raw Unified | Return to bug 137565
Collapse All | Expand All

(-)lynx/files/patch-aa (-8 / +13 lines)
Lines 1-17 Link Here
1
--- makefile.in.orig	Mon Sep  4 01:25:39 2006
1
--- makefile.in.orig	2006-09-03 19:25:39.000000000 -0400
2
+++ makefile.in	Tue Jul 31 10:37:26 2007
2
+++ makefile.in	2009-08-08 04:44:18.000000000 -0400
3
@@ -366,7 +366,9 @@
3
@@ -361,12 +361,12 @@
4
 			(cd $(HELPDIR) && $(COMPRESS_PROG) $$files ) \
5
 		fi'
6
 	@echo Updating $(sysconfdir)/lynx.cfg
7
-	@ECHO_CC@$(SHELL) -c 'if test -f $(SYSCONFDIR)/lynx.cfg ; then \
8
-		mv $(SYSCONFDIR)/lynx.cfg $(SYSCONFDIR)/lynx.tmp ; \
9
+	@ECHO_CC@$(SHELL) -c 'if test -f $(SYSCONFDIR)/lynx.cfg.sample ; then \
10
+		mv $(SYSCONFDIR)/lynx.cfg.sample $(SYSCONFDIR)/lynx.tmp ; \
4
 	else \
11
 	else \
5
 		cp $(srcdir)/lynx.cfg $(SYSCONFDIR)/lynx.tmp ; \
12
 		cp $(srcdir)/lynx.cfg $(SYSCONFDIR)/lynx.tmp ; \
6
 	fi'
13
 	fi'
7
-	@echo Updating $(sysconfdir)/lynx.cfg to point to installed help-files
14
-	@echo Updating $(sysconfdir)/lynx.cfg to point to installed help-files
8
+	@echo Updating $(srcdir)/lynx.cfg.sample
15
+	@echo Updating $(SYSCONFDIR)/lynx.cfg.sample to point to installed help-files
9
+	@cp $(srcdir)/lynx.cfg $(srcdir)/lynx.tmp
10
+	@echo Updating $(srcdir)/lynx.cfg.sample to point to installed help-files
11
 	@ECHO_CC@sed	-e '/^HELPFILE:http/s!^!#!' \
16
 	@ECHO_CC@sed	-e '/^HELPFILE:http/s!^!#!' \
12
 		-e '/^#HELPFILE:file/s!#!!' \
17
 		-e '/^#HELPFILE:file/s!#!!' \
13
 		$(SYSCONFDIR)/lynx.tmp | \
18
 		$(SYSCONFDIR)/lynx.tmp | \
14
@@ -374,9 +376,11 @@
19
@@ -374,9 +374,11 @@
15
 	$(SHELL) $(scripts_dir)/cfg_path.sh lynx_doc  $(helpdir) | \
20
 	$(SHELL) $(scripts_dir)/cfg_path.sh lynx_doc  $(helpdir) | \
16
 	sed	-e '/^HELPFILE:file/s!$$!$(COMPRESS_EXT)!' \
21
 	sed	-e '/^HELPFILE:file/s!$$!$(COMPRESS_EXT)!' \
17
 		-e '/^HELPFILE:file/s!$(COMPRESS_EXT)$(COMPRESS_EXT)$$!$(COMPRESS_EXT)!' \
22
 		-e '/^HELPFILE:file/s!$(COMPRESS_EXT)$(COMPRESS_EXT)$$!$(COMPRESS_EXT)!' \
Lines 25-31 Link Here
25
 
30
 
26
 LYHelp.h : help_files.sed LYHelp.hin
31
 LYHelp.h : help_files.sed LYHelp.hin
27
 	@echo Creating $@
32
 	@echo Creating $@
28
@@ -398,18 +402,17 @@
33
@@ -398,18 +400,17 @@
29
 	$(SHELL) -c 'SHELL=$(SHELL) $(SHELL) $(scripts_dir)/cfg_defs.sh $(srcdir)'
34
 	$(SHELL) -c 'SHELL=$(SHELL) $(SHELL) $(scripts_dir)/cfg_defs.sh $(srcdir)'
30
 
35
 
31
 install-cfg : $(SYSCONFDIR)
36
 install-cfg : $(SYSCONFDIR)
(-)lynx/pkg-plist (-4 / +4 lines)
Lines 1-10 Link Here
1
bin/lynx
1
bin/lynx
2
@unexec if [ -f %D/etc/lynx.cfg ] && cmp -s %D/etc/lynx.cfg %D/etc/lynx.cfg.sample; then rm -f %D/etc/lynx.cfg; fi
2
@unexec if cmp -s %D/etc/lynx.cfg %D/etc/lynx.cfg.sample; then rm -f %D/etc/lynx.cfg; fi
3
etc/lynx.cfg.sample
3
etc/lynx.cfg.sample
4
@exec if [ ! -f %D/etc/lynx.cfg ] ; then cp -p %D/%F %B/lynx.cfg; fi
4
@exec if [ ! -f %B/lynx.cfg ]; then cp -p %D/%F %B/lynx.cfg; fi
5
@unexec if [ -f %D/etc/lynx.lss ] && cmp -s %D/etc/lynx.lss %D/etc/lynx.lss.sample; then rm -f %D/etc/lynx.lss; fi
5
@unexec if cmp -s %D/etc/lynx.lss %D/etc/lynx.lss.sample; then rm -f %D/etc/lynx.lss; fi
6
etc/lynx.lss.sample
6
etc/lynx.lss.sample
7
@exec if [ ! -f %D/etc/lynx.lss ] ; then cp -p %D/%F %B/lynx.lss; fi
7
@exec if [ ! -f %B/lynx.lss ]; then cp -p %D/%F %B/lynx.lss; fi
8
@exec mkdir -p %D/share/lynx_help
8
@exec mkdir -p %D/share/lynx_help
9
%%DOCSDIR%%/CHANGES
9
%%DOCSDIR%%/CHANGES
10
%%DOCSDIR%%/COPYHEADER
10
%%DOCSDIR%%/COPYHEADER

Return to bug 137565