1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/www/lynx-current/files/patch-aa

42 lines
1.6 KiB
Plaintext
Raw Normal View History

1999-09-08 15:54:06 +00:00
--- makefile.in.orig Thu Aug 26 15:31:19 1999
+++ makefile.in Wed Sep 8 19:04:00 1999
@@ -361,22 +361,19 @@
fi ; \
)'
-rm -f $(HELPDIR)/help_files.sed
- @echo Updating $(libdir)/lynx.cfg
- $(SHELL) -c 'if test -f $(LIBDIR)/lynx.cfg ; then \
- mv $(LIBDIR)/lynx.cfg $(LIBDIR)/lynx.tmp ; \
1999-09-08 15:54:06 +00:00
- else \
- cp $(srcdir)/lynx.cfg $(LIBDIR)/lynx.tmp ; \
- fi'
- @echo Updating $(libdir)/lynx.cfg to point to installed help-files
1999-09-08 15:54:06 +00:00
+ @echo Updating $(libdir)/lynx.cfg.default
+ cp $(srcdir)/lynx.cfg $(LIBDIR)/lynx.tmp
+ @echo Updating $(libdir)/lynx.cfg.default to point to installed help-files
@ECHO_CC@sed -e '/^HELPFILE:http/s@^@#@' \
-e '/^#HELPFILE:file/s@#@@' \
-e '/^HELPFILE:file/s@/PATH_TO/lynx_help@$(helpdir)@' \
-e '/^[A-Z_]*:/s@/PATH_TO/lynx_doc@$(docdir)@' \
-e '/^HELPFILE:file/s@$$@$(COMPRESS_EXT)@' \
-e '/^HELPFILE:file/s@$(COMPRESS_EXT)$(COMPRESS_EXT)$$@$(COMPRESS_EXT)@' \
- $(LIBDIR)/lynx.tmp >$(LIBDIR)/lynx.cfg
- chmod 644 $(LIBDIR)/lynx.cfg
+ $(LIBDIR)/lynx.tmp >$(LIBDIR)/lynx.cfg.default
+ chmod 644 $(LIBDIR)/lynx.cfg.default
1999-08-02 03:07:05 +00:00
-rm -f $(LIBDIR)/lynx.tmp
+ -[ ! -f $(LIBDIR)/lynx.cfg ] && $(INSTALL_DATA) $(LIBDIR)/lynx.cfg.default $(LIBDIR)/lynx.cfg
1999-08-02 03:07:05 +00:00
LYHelp.h : LYHelp.hin
1999-09-08 15:54:06 +00:00
@echo Constructing sed-script
@@ -407,8 +404,7 @@
PATH=$(srcdir):$$PATH; export PATH; $(SHELL) -c '$(srcdir)/cfg_defs.sh'
1999-05-25 20:14:49 +00:00
install-cfg : $(LIBDIR)
- -mv -f $(LIBDIR)/lynx.cfg $(LIBDIR)/lynx.oldcfg
- $(INSTALL_DATA) $(srcdir)/lynx.cfg $(LIBDIR)/lynx.cfg
+ $(INSTALL_DATA) $(srcdir)/lynx.cfg $(LIBDIR)/lynx.cfg.default
1999-05-25 20:14:49 +00:00
install-lss : $(LIBDIR)
-mv -f $(LIBDIR)/lynx.lss $(LIBDIR)/lynx.oldlss