Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jun 2002 13:15:16 -0700 (PDT)
From:      Scott Flatman <sf@dsinw.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/39744: ports/textproc  ${PERL} -> ${REINPLACE_CMD}
Message-ID:  <20020623131437.P2043-100000@ivymike.satan.kom>

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

>Number:         39744
>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 13:20:01 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-cwtext begins here ---
--- Makefile.orig	Thu Nov 15 19:46:52 2001
+++ Makefile	Sun Jun 23 12:44:46 2002
@@ -17,9 +17,10 @@
 USE_GMAKE=	yes
 MAKEFILE=	makefile
 ALL_TARGET=	ALL
+USE_REINPLACE=	yes

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

 do-install:
--- patch-cwtext ends here ---

--- patch-gxmlviwer begins here ---
--- 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 ---

--- patch-html2fo begins here ---
--- Makefile.orig	Wed Oct 17 02:10:33 2001
+++ Makefile	Sun Jun 23 12:47:46 2002
@@ -14,8 +14,10 @@

 MAINTAINER=	ports@FreeBSD.org

+USE_REINPLACE=	yes
+
 post-patch:
-	@${PERL} -pi -e "s,^CC,#CC,g ; \
+	@${REINPLACE_CMD} -e "s,^CC,#CC,g ; \
 		s,^CFLAGS,#CFLAGS,g" ${WRKSRC}/Makefile

 do-install:
--- patch-html2fo ends here ---

--- patch-htmltolatex begins 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 ---

--- patch-minidom begins here ---
--- Makefile.orig	Mon Jun  3 11:58:40 2002
+++ Makefile	Sun Jun 23 12:51:57 2002
@@ -23,9 +23,10 @@
 		LIBS="-L${LOCALBASE}/lib"
 CONFIGURE_ARGS=	--with-libxml2=yes
 INSTALLS_SHLIB=	yes
+USE_REINPLACE=	yes

 post-patch:
-	@${PERL} -pi -e 's|-lglib|-lglib12|g ; \
+	@${REINPLACE_CMD} -e 's|-lglib|-lglib12|g ; \
 		 s|glib-config|${GLIB_CONFIG}|g' ${WRKSRC}/configure

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

--- patch-rtf2htm begins 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 ---

--- patch-tex2im begins here ---
--- Makefile.orig	Fri May 17 01:08:00 2002
+++ Makefile	Sun Jun 23 12:55:31 2002
@@ -18,9 +18,10 @@
 		convert:${PORTSDIR}/graphics/ImageMagick

 NO_BUILD=	yes
+USE_REINPLACE=	yes

 post-patch:
-	@${PERL} -pi -e "s,^#!/bin/bash,#!${LOCALBASE}/bin/bash,g" ${WRKSRC}/tex2im
+	@${REINPLACE_CMD} -e "s,^#!/bin/bash,#!${LOCALBASE}/bin/bash,g" ${WRKSRC}/tex2im

 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/tex2im ${PREFIX}/bin
--- patch-tex2im ends here ---

--- patch-xmlpp begins 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 ---

--- patch-xmlppm begins here ---
--- Makefile.orig	Tue May 22 01:13:09 2001
+++ Makefile	Sun Jun 23 12:58:11 2002
@@ -20,9 +20,10 @@

 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
 USE_GMAKE=	yes
+USE_REINPLACE=	yes

 post-patch:
-	@${PERL} -pi -e "s,%%LOCALBASE%%,${LOCALBASE},g" ${WRKSRC}/Makefile
+	@${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE},g" ${WRKSRC}/Makefile

 do-install:
 	@(cd ${WRKSRC} ; ${INSTALL_PROGRAM} xmlppm xmlunppm ${PREFIX}/bin)
--- patch-xmlppm ends here ---

--- patch-xslint begins 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 ---

--- patch-gutenmark begins here ---
--- Makefile.orig	Fri Jun  7 08:35:06 2002
+++ Makefile	Sun Jun 23 13:00:09 2002
@@ -16,9 +16,10 @@
 WRKSRC=		${WRKDIR}/GutenMark-source
 USE_GMAKE=	yes
 ALL_TARGET=	# empty
+USE_REINPLACE=	yes

 post-patch:
-	@${PERL} -pi -e "s,cc,${CC},g ; s,-O3 -Wall,${CFLAGS},g" ${WRKSRC}/Makefile
+	@${REINPLACE_CMD} -e "s,cc,${CC},g ; s,-O3 -Wall,${CFLAGS},g" ${WRKSRC}/Makefile

 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/GutenMark ${PREFIX}/bin
--- patch-gutenmark 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?20020623131437.P2043-100000>