openbsd-ports/net/wget/patches/patch-doc_Makefile_in
benoit afea3a4b20 - update wget to 1.12
- regen plist
- update patch

ok ajacoutot@
2009-10-15 08:27:04 +00:00

39 lines
1.3 KiB
Plaintext

--- doc/Makefile.in.orig Tue Sep 22 18:40:11 2009
+++ doc/Makefile.in Thu Oct 1 14:53:44 2009
@@ -598,7 +598,7 @@
RM = rm -f
TEXI2POD = $(srcdir)/texi2pod.pl
MAN = wget.$(manext)
-WGETRC = $(sysconfdir)/wgetrc
+WGETRCDIR = $(prefix)/share/examples/wget
SAMPLERCTEXI = sample.wgetrc.munged_for_texi_inclusion
#
@@ -1067,23 +1067,9 @@
# install sample.wgetrc
install.wgetrc: $(srcdir)/sample.wgetrc
- $(mkinstalldirs) $(DESTDIR)$(sysconfdir)
- @if test -f $(DESTDIR)$(WGETRC); then \
- if cmp -s $(srcdir)/sample.wgetrc $(DESTDIR)$(WGETRC); then echo ""; \
- else \
- echo ' $(INSTALL_DATA) $(srcdir)/sample.wgetrc $(DESTDIR)$(WGETRC).new'; \
- $(INSTALL_DATA) $(srcdir)/sample.wgetrc $(DESTDIR)$(WGETRC).new; \
- echo; \
- echo "WARNING: Differing \`$(DESTDIR)$(WGETRC)'"; \
- echo " exists and has been spared. You might want to"; \
- echo " consider merging in the new lines from"; \
- echo " \`$(DESTDIR)$(WGETRC).new'."; \
- echo; \
- fi; \
- else \
- $(INSTALL_DATA) $(srcdir)/sample.wgetrc $(DESTDIR)$(WGETRC); \
- fi
-
+ $(mkinstalldirs) $(DESTDIR)$(WGETRCDIR)
+ $(INSTALL_DATA) $(srcdir)/sample.wgetrc $(DESTDIR)$(WGETRCDIR)
+
# uninstall man page
uninstall.man:
$(RM) $(DESTDIR)$(mandir)/man$(manext)/$(MAN)