From sf@dsinw.com  Sun Jun 23 09:50:11 2002
Return-Path: <sf@dsinw.com>
Received: from innovations.dsinw.com (ns.dsinw.com [207.149.40.194])
	by hub.freebsd.org (Postfix) with ESMTP id D576B37B406
	for <freebsd-gnats-submit@freebsd.org>; Sun, 23 Jun 2002 09:50:08 -0700 (PDT)
Received: from ivymike.satan.kom (05-030.021.popsite.net [192.216.197.30])
	by innovations.dsinw.com (8.11.6/8.11.6) with ESMTP id g5NGmM616357
	for <freebsd-gnats-submit@freebsd.org>; Sun, 23 Jun 2002 09:48:22 -0700
Message-Id: <20020623095055.F99384-100000@ivymike.satan.kom>
Date: Sun, 23 Jun 2002 09:51:36 -0700 (PDT)
From: Scott Flatman <sf@dsinw.com>
To: freebsd-gnats-submit@freebsd.org
Subject: ports/print/hpijs  ${PERL} -> ${REINPLACE_CMD}

>Number:         39710
>Category:       ports
>Synopsis:       ${PERL} -> ${REINPLACE_CMD}
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 23 10:00:03 PDT 2002
>Closed-Date:    Thu Jun 27 23:58:16 GMT 2002
>Last-Modified:  Mon Jul 05 16:53:34 GMT 2004
>Originator:     Scott Flatman
>Release:        
>Organization:
>Environment:
>Description:
	${PERL} -> ${REINPLACE_CMD}
>How-To-Repeat:
>Fix:

--- patch-hpijs begins here ---
--- Makefile.orig	Tue May  7 09:57:37 2002
+++ Makefile	Sun Jun 23 09:49:50 2002
@@ -18,6 +18,7 @@

 IJS_CONFIG?=	${LOCALBASE}/bin/ijs-config

+USE_REINPLACE=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"

@@ -25,14 +26,14 @@
 LDFLAGS=	`${IJS_CONFIG} --libs`

 post-patch:
-	@${PERL} -pi -e 's|CFLAGS="-O2 -Wall"|CFLAGS="\$$CFLAGS"|g ; \
+	@${REINPLACE_CMD} -e 's|CFLAGS="-O2 -Wall"|CFLAGS="\$$CFLAGS"|g ; \
 		 s|CXXFLAGS="-O2 -Wall"|CXXFLAGS="\$$CXXFLAGS"|g' \
 			${WRKSRC}/configure
-	@${PERL} -pi -e 's| ijs.[cho]||g ; \
+	@${REINPLACE_CMD} -e 's| ijs.[cho]||g ; \
 		 s| ijs_client.h||g ; \
 		 s| ijs_server.[cho]||g ; \
 		 s| ijs_exec_unix.[co]||g' ${WRKSRC}/Makefile.in
-	@${PERL} -pi -e 's|#include <malloc.h>||g' ${WRKSRC}/platform.h
+	@${REINPLACE_CMD} -e 's|#include <malloc.h>||g' ${WRKSRC}/platform.h

 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/hpijs ${PREFIX}/bin
--- patch-hpijs ends here ---


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: perky 
State-Changed-When: Thu Jun 27 23:57:36 GMT 2002 
State-Changed-Why:  
Committed. Thanks! 

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