ports/177792: ftp/wget: drop doc patch file in favor of REINPLACE_CMD
Jason Helfman
jgh at FreeBSD.org
Fri Apr 12 01:30:01 UTC 2013
>Number: 177792
>Category: ports
>Synopsis: ftp/wget: drop doc patch file in favor of REINPLACE_CMD
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Apr 12 01:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Jason Helfman
>Release: FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD freefall.freebsd.org 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r249172: Sat Apr 6 00:40:01 UTC 2013 peter at freefall.freebsd.org:/usr/obj/usr/src/sys/FREEFALL amd64
>Description:
doc patch can be substituted with a REINPLACE_CMD
>How-To-Repeat:
>Fix:
Index: Makefile
===================================================================
--- Makefile (revision 315788)
+++ Makefile (working copy)
@@ -72,5 +72,7 @@
${REINPLACE_CMD} -e 's,/usr/local/etc/wgetrc,${PREFIX}/etc/wgetrc,' \
-e 's, at file{}, at file{${PREFIX}},' \
${WRKSRC}/doc/sample.wgetrc* ${WRKSRC}/doc/wget.texi
+ ${REINPLACE_CMD} -e 's,WGETRC = $$(sysconfdir)\/wgetrc,WGETRC = $$(sysconfdir)\/wgetrc.sample,' \
+ ${WRKSRC}/doc/Makefile.in
.include <bsd.port.mk>
Index: files/patch-doc_Makefile.in
===================================================================
--- files/patch-doc_Makefile.in (revision 315788)
+++ files/patch-doc_Makefile.in (working copy)
@@ -1,11 +0,0 @@
---- doc/Makefile.in.orig 2010-02-14 16:28:59.000000000 +0200
-+++ doc/Makefile.in 2010-02-14 16:29:43.000000000 +0200
-@@ -598,7 +598,7 @@
- RM = rm -f
- TEXI2POD = $(srcdir)/texi2pod.pl
- MAN = wget.$(manext)
--WGETRC = $(sysconfdir)/wgetrc
-+WGETRC = $(sysconfdir)/wgetrc.sample
- SAMPLERCTEXI = sample.wgetrc.munged_for_texi_inclusion
-
- #
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list