Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jun 2002 09:51:36 -0700 (PDT)
From:      Scott Flatman <sf@dsinw.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/39710: ports/print/hpijs  ${PERL} -> ${REINPLACE_CMD}
Message-ID:  <20020623095055.F99384-100000@ivymike.satan.kom>

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

>Number:         39710
>Category:       ports
>Synopsis:       ${PERL} -> ${REINPLACE_CMD}
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 23 10:00:03 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Scott Flatman
>Release:        
>Organization:
<organization of PR author (multiple lines)>
>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:
>Unformatted:
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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