From sf@dsinw.com  Fri Jun 28 17:12:24 2002
Return-Path: <sf@dsinw.com>
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 774D537B405
	for <freebsd-gnats-submit@freebsd.org>; Fri, 28 Jun 2002 17:12:24 -0700 (PDT)
Received: from innovations.dsinw.com (ns.dsinw.com [207.149.40.194])
	by mx1.FreeBSD.org (Postfix) with ESMTP id B014043E13
	for <freebsd-gnats-submit@freebsd.org>; Fri, 28 Jun 2002 17:12:23 -0700 (PDT)
	(envelope-from sf@dsinw.com)
Received: from ivymike.foo.kom (03-124.021.popsite.net [192.216.196.124])
	by innovations.dsinw.com (8.11.6/8.11.6) with ESMTP id g5T0APm29511
	for <freebsd-gnats-submit@freebsd.org>; Fri, 28 Jun 2002 17:10:26 -0700
Message-Id: <20020628171145.U56764-100000@ivymike.foo.kom>
Date: Fri, 28 Jun 2002 17:12:17 -0700 (PDT)
From: Scott Flatman <sf@dsinw.com>
To: freebsd-gnats-submit@freebsd.org
Subject: ports/comms  minor Makefile cleanup

>Number:         39971
>Category:       ports
>Synopsis:       ports/comms  minor Makefile cleanup
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    arved
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 28 17:20:01 PDT 2002
>Closed-Date:    Mon Nov 18 15:10:50 PST 2002
>Last-Modified:  Mon Nov 18 15:10:50 PST 2002
>Originator:     Scott Flatman
>Release:        
>Organization:
>Environment:
>Description:
	hardcoded tool names to Mk/bsd.port.mk variable names
	${PERL} -> ${REINPLACE_CMD}
>How-To-Repeat:
>Fix:

--- patch-acfax begins here ---
--- Makefile.orig	Thu Jun 13 09:45:17 2002
+++ Makefile	Fri Jun 28 17:07:33 2002
@@ -18,13 +18,14 @@

 WRKSRC=		${WRKDIR}/acfax
 USE_IMAKE=	yes
+USE_REINPLACE=	yes

 post-patch:
-	@${PERL} -pi -e 's|setup_fax\(120, 288|setup_fax(120, 576|' \
+	@${REINPLACE_CMD} -e 's|setup_fax\(120, 288|setup_fax(120, 576|' \
 		${WRKSRC}/acfax.c
-	@${PERL} -pi -e 's|ixoc = 288|ixoc = 576|' ${WRKSRC}/fax_funcs.c
-	@${PERL} -pi -e 's|regex.h|gnuregex.h|' ${WRKSRC}/RegExp.h
-	@${PERL} -pi -e 's|-lm|-lm -lgnuregex|' ${WRKSRC}/Imakefile
+	@${REINPLACE_CMD} -e 's|ixoc = 288|ixoc = 576|' ${WRKSRC}/fax_funcs.c
+	@${REINPLACE_CMD} -e 's|regex.h|gnuregex.h|' ${WRKSRC}/RegExp.h
+	@${REINPLACE_CMD} -e 's|-lm|-lm -lgnuregex|' ${WRKSRC}/Imakefile

 post-configure:
 		${TOUCH} ${WRKSRC}/acfax.man
--- patch-acfax ends here ---

--- patch-hylafax begins here ---
--- Makefile.orig	Thu Jun 27 09:28:07 2002
+++ Makefile	Fri Jun 28 14:03:20 2002
@@ -75,8 +75,8 @@
 .if ${LOCALBASE} != /usr/local
 post-patch:
 	${REINPLACE_CMD} -e 's^/usr/local^${LOCALBASE}^g' \
-		`find work/hylafax-4.1 -type f -print0 | \
-			xargs -0 fgrep -l --mmap /usr/local`
+		`${FIND} work/hylafax-4.1 -type f -print0 | \
+			${XARGS} -0 fgrep -l --mmap /usr/local`
 .endif

 .include <bsd.port.post.mk>
--- patch-hylafax ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->arved 
Responsible-Changed-By: arved 
Responsible-Changed-When: Sun Nov 3 10:39:28 PST 2002 
Responsible-Changed-Why:  
I'll handle that one 

http://www.freebsd.org/cgi/query-pr.cgi?pr=39971 
State-Changed-From-To: open->closed 
State-Changed-By: arved 
State-Changed-When: Mon Nov 18 15:10:40 PST 2002 
State-Changed-Why:  
Committed, thanks 

http://www.freebsd.org/cgi/query-pr.cgi?pr=39971 
>Unformatted:
 
