summaryrefslogtreecommitdiff
path: root/net/wget/patches
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2002-11-21 11:05:56 +0000
committergrant <grant@pkgsrc.org>2002-11-21 11:05:56 +0000
commit3fca283c9f9f31104bc3666c0c7c13c5339c12b3 (patch)
treebf1d794e9fd09dbc2fa3d0813cae44cb67ca1c8e /net/wget/patches
parent281ffb799574c587ba840e9a0e8e86e33a1c164d (diff)
downloadpkgsrc-3fca283c9f9f31104bc3666c0c7c13c5339c12b3.tar.gz
- honour PKG_SYSCONFDIR
- bump PKGREVISION from Julio Merino in pkg/18981.
Diffstat (limited to 'net/wget/patches')
-rw-r--r--net/wget/patches/patch-ag30
1 files changed, 30 insertions, 0 deletions
diff --git a/net/wget/patches/patch-ag b/net/wget/patches/patch-ag
new file mode 100644
index 00000000000..90f2d9e2f08
--- /dev/null
+++ b/net/wget/patches/patch-ag
@@ -0,0 +1,30 @@
+$NetBSD: patch-ag,v 1.3 2002/11/21 11:05:57 grant Exp $
+
+--- doc/Makefile.in.orig Thu Apr 12 14:25:22 2001
++++ doc/Makefile.in
+@@ -40,6 +40,7 @@ prefix = @prefix@
+ infodir = @infodir@
+ mandir = @mandir@
+ manext = 1
++datadir = @datadir@
+ sysconfdir = @sysconfdir@
+
+ DESTDIR =
+@@ -51,7 +52,7 @@ RM = rm -f
+ TEXI2POD = ./texi2pod.pl
+ POD2MAN = @POD2MAN@
+ MAN = wget.$(manext)
+-WGETRC = $(sysconfdir)/wgetrc
++WGETRC = $(datadir)/examples/@PACKAGE@/wgetrc
+ SAMPLERCTEXI = sample.wgetrc.munged_for_texi_inclusion
+
+ #
+@@ -119,7 +120,7 @@ install.man: $(MAN)
+
+ # install sample.wgetrc
+ install.wgetrc: $(srcdir)/sample.wgetrc
+- $(top_srcdir)/mkinstalldirs $(sysconfdir)
++ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(datadir)/examples/@PACKAGE@
+ @if test -f $(WGETRC); then \
+ if cmp -s $(srcdir)/sample.wgetrc $(DESTDIR)$(WGETRC); then echo ""; \
+ else \