Bug 39744

Summary: ${PERL} -> ${REINPLACE_CMD}
Product: Ports & Packages Reporter: sf <sf>
Component: Individual Port(s)Assignee: freebsd-ports (Nobody) <ports>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch-cwtext
none
patch-html2fo
none
patch-minidom
none
patch-tex2im
none
patch-xmlppm
none
patch-gutenmark none

Description sf 2002-06-23 21:20:01 UTC
	${PERL} -> ${REINPLACE_CMD}

Fix: --- Makefile.orig	Mon Mar 18 03:50:35 2002
+++ Makefile	Sun Jun 23 12:46:27 2002
@@ -19,8 +19,9 @@
 USE_X_PREFIX=	yes
 USE_GNOME=	yes
 GNU_CONFIGURE=	yes
+USE_REINPLACE=	yes

 post-patch:
-	@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
+	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure

 .include <bsd.port.mk>
--- patch-gxmlviwer ends here ---

--- Makefile.orig	Sun Jan 20 10:37:32 2002
+++ Makefile	Sun Jun 23 12:48:58 2002
@@ -20,9 +20,10 @@
 MAKEFILE=	GNUmakefile
 CXXFLAGS+=	-I${LOCALBASE}/include -DUNIX
 USE_GMAKE=	yes
+USE_REINPLACE=	yes

 post-patch:
-	@${PERL} -pi -e "s,^CXXFLAGS,#CXXFLAGS,g ; \
+	@${REINPLACE_CMD} -e "s,^CXXFLAGS,#CXXFLAGS,g ; \
 		s,^CXX,#CXX,g" ${WRKSRC}/${MAKEFILE}

 do-install:
--- patch-htmltolatex ends here ---

--- patch-libxml++ begins here ---
--- Makefile.orig	Fri Aug 31 07:20:28 2001
+++ Makefile	Sun Jun 23 12:50:05 2002
@@ -21,8 +21,9 @@

 USE_GMAKE=	yes
 INSTALLS_SHLIB=	yes
+USE_REINPLACE=	yes

 post-patch:
-	@${PERL} -pi -e "s|xml-config|xml2-config|g" ${WRKSRC}/configure
+	@${REINPLACE_CMD} -e "s|xml-config|xml2-config|g" ${WRKSRC}/configure

 .include <bsd.port.mk>
--- patch-libxml++ ends here ---

--- Makefile.orig	Sat Nov 24 02:04:26 2001
+++ Makefile	Sun Jun 23 12:54:40 2002
@@ -18,10 +18,11 @@

 MANCOMPRESSED=	no
 MAN1=	rtf2htm.1
+USE_REINPLACE=	yes

 post-patch:
-	@${PERL} -pi -e "s,^CC,#CC,g ; s,^CFLAGS,#CFLAGS,g" ${WRKSRC}/${MAKEFILE}
-	@${PERL} -pi -e 's|malloc.h|stdlib.h|' ${WRKSRC}/malloc.c
+	@${REINPLACE_CMD} -e "s,^CC,#CC,g ; s,^CFLAGS,#CFLAGS,g" ${WRKSRC}/${MAKEFILE}
+	@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/malloc.c

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

--- Makefile.orig	Mon Dec 24 13:56:38 2001
+++ Makefile	Sun Jun 23 12:57:22 2002
@@ -16,9 +16,10 @@
 FETCH_CMD=	/usr/bin/fetch
 USE_GMAKE=	yes
 USE_LIBTOOL=	yes
+USE_REINPLACE=	yes

 pre-patch:
-	@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
+	@find ${WRKSRC} -name "Makefile.in" | xargs ${REINPLACE_CMD} -e \
 		's|/usr/local/share|\$$\(datadir\)|g'

 .include <bsd.port.mk>
--- patch-xmlpp ends here ---

--- Makefile.orig	Mon Mar 25 04:55:31 2002
+++ Makefile	Sun Jun 23 12:59:21 2002
@@ -20,9 +20,10 @@

 WRKSRC=		${WRKDIR}/${PORTNAME}
 NO_BUILD=	yes
+USE_REINPLACE=	yes

 post-patch:
-	${PERL5} -pi -e 's,/usr/local/bin/perl5,${PERL},' ${WRKSRC}/${PORTNAME}.pl
+	${REINPLACE_CMD} -e 's,/usr/local/bin/perl5,${PERL},' ${WRKSRC}/${PORTNAME}.pl

 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${PREFIX}/bin/${PORTNAME}
--- patch-xslint ends here ---
Comment 1 Tilman Keskinoz freebsd_committer freebsd_triage 2002-11-03 17:24:05 UTC
State Changed
From-To: open->closed

Committed by dwcjr on Sep 01, thanks