openbsd-ports/net/wget/patches/patch-ab

43 lines
1.3 KiB
Plaintext
Raw Normal View History

--- doc/Makefile.in.orig Sat May 23 19:40:42 1998
+++ doc/Makefile.in Fri Apr 9 18:49:50 1999
1999-03-29 16:03:00 -05:00
@@ -22,7 +22,7 @@
SHELL = /bin/sh
# Program to format Texinfo source into Info files.
-MAKEINFO = @MAKEINFO@
+MAKEINFO = @MAKEINFO@ --no-split
# Program to format Texinfo source into DVI files.
TEXI2DVI = texi2dvi
# Program to convert DVI files to PostScript
@@ -45,7 +45,7 @@
RM = rm -f
MAN = wget.$(manext)
-WGETRC = $(sysconfdir)/wgetrc
+WGETRCDIR = $(prefix)/lib/wget
#
# Dependencies for building
@@ -99,19 +99,8 @@
# install sample.wgetrc
install.wgetrc:
- $(top_srcdir)/mkinstalldirs $(sysconfdir)
- @if test -f $(WGETRC); then \
- if cmp -s $(srcdir)/sample.wgetrc $(WGETRC); then echo ""; \
- else \
- echo ' $(INSTALL_DATA) $(srcdir)/sample.wgetrc $(WGETRC).new'; \
- $(INSTALL_DATA) $(srcdir)/sample.wgetrc $(WGETRC).new; \
- echo "WARNING: File \`$(WGETRC)' already exists and is spared."; \
- echo " You might want to consider \`$(WGETRC).new',"; \
- echo " and merge both into \`$(WGETRC)', for the best."; \
- fi; \
- else \
- $(INSTALL_DATA) $(srcdir)/sample.wgetrc $(WGETRC); \
- fi
+ $(top_srcdir)/mkinstalldirs $(WGETRCDIR)
+ $(INSTALL_DATA) $(srcdir)/sample.wgetrc $(WGETRCDIR);
# uninstall info pages
uninstall.info: