Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Apr 2013 01:28:14 GMT
From:      Jason Helfman <jgh@FreeBSD.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/177792: ftp/wget: drop doc patch file in favor of REINPLACE_CMD
Message-ID:  <201304120128.r3C1SEIY057317@freefall.freebsd.org>
Resent-Message-ID: <201304120130.r3C1U0SO057376@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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,@file{},@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304120128.r3C1SEIY057317>