diff options
| author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2009-12-12 03:08:52 +0000 |
|---|---|---|
| committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2009-12-12 03:08:52 +0000 |
| commit | 3f7ee7241e1d26cf69b4581095b71c3cf64d2bb4 (patch) | |
| tree | 36080afd67eb4cc543488c3052c842fc2f1e52c5 /www/lynx/files/patch-aa | |
| parent | - Fix rc-script (diff) | |
- Fix installation to not copy .cfg files to .cfg.sample and to not tamper with .cfg when it's not needed
- Simplify config-related @exec/@unexec's in the pkg-plist
PR: 137565
Submitted by: bf <bf1783@gmail.com>
Approved by: maintainer timeout
Notes
Notes:
svn path=/head/; revision=245584
Diffstat (limited to 'www/lynx/files/patch-aa')
| -rw-r--r-- | www/lynx/files/patch-aa | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/www/lynx/files/patch-aa b/www/lynx/files/patch-aa index 5e713ecc7a63..f0c4bf9f1c76 100644 --- a/www/lynx/files/patch-aa +++ b/www/lynx/files/patch-aa @@ -1,17 +1,22 @@ ---- makefile.in.orig Mon Sep 4 01:25:39 2006 -+++ makefile.in Tue Jul 31 10:37:26 2007 -@@ -366,7 +366,9 @@ +--- makefile.in.orig 2006-09-03 19:25:39.000000000 -0400 ++++ makefile.in 2009-08-08 04:44:18.000000000 -0400 +@@ -361,12 +361,12 @@ + (cd $(HELPDIR) && $(COMPRESS_PROG) $$files ) \ + fi' + @echo Updating $(sysconfdir)/lynx.cfg +- @ECHO_CC@$(SHELL) -c 'if test -f $(SYSCONFDIR)/lynx.cfg ; then \ +- mv $(SYSCONFDIR)/lynx.cfg $(SYSCONFDIR)/lynx.tmp ; \ ++ @ECHO_CC@$(SHELL) -c 'if test -f $(SYSCONFDIR)/lynx.cfg.sample ; then \ ++ mv $(SYSCONFDIR)/lynx.cfg.sample $(SYSCONFDIR)/lynx.tmp ; \ else \ cp $(srcdir)/lynx.cfg $(SYSCONFDIR)/lynx.tmp ; \ fi' - @echo Updating $(sysconfdir)/lynx.cfg to point to installed help-files -+ @echo Updating $(srcdir)/lynx.cfg.sample -+ @cp $(srcdir)/lynx.cfg $(srcdir)/lynx.tmp -+ @echo Updating $(srcdir)/lynx.cfg.sample to point to installed help-files ++ @echo Updating $(SYSCONFDIR)/lynx.cfg.sample to point to installed help-files @ECHO_CC@sed -e '/^HELPFILE:http/s!^!#!' \ -e '/^#HELPFILE:file/s!#!!' \ $(SYSCONFDIR)/lynx.tmp | \ -@@ -374,9 +376,11 @@ +@@ -374,9 +374,11 @@ $(SHELL) $(scripts_dir)/cfg_path.sh lynx_doc $(helpdir) | \ sed -e '/^HELPFILE:file/s!$$!$(COMPRESS_EXT)!' \ -e '/^HELPFILE:file/s!$(COMPRESS_EXT)$(COMPRESS_EXT)$$!$(COMPRESS_EXT)!' \ @@ -25,7 +30,7 @@ LYHelp.h : help_files.sed LYHelp.hin @echo Creating $@ -@@ -398,18 +402,17 @@ +@@ -398,18 +400,17 @@ $(SHELL) -c 'SHELL=$(SHELL) $(SHELL) $(scripts_dir)/cfg_defs.sh $(srcdir)' install-cfg : $(SYSCONFDIR) |
