From 444d2e1edce5f2e0fad951a90dc9b7845dd81f37 Mon Sep 17 00:00:00 2001 From: Ying-Chieh Liao Date: Fri, 21 Jun 2002 16:17:18 +0000 Subject: ${PERL} -> ${REINPLACE_CMD} PR: 39587, 39589, 39590 Submitted by: maintainer --- archivers/nomarch/Makefile | 4 +++- net/gopher/Makefile | 4 +++- www/asp2php/Makefile | 3 ++- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/archivers/nomarch/Makefile b/archivers/nomarch/Makefile index ae696df11c4f..f12ad53c88f1 100644 --- a/archivers/nomarch/Makefile +++ b/archivers/nomarch/Makefile @@ -16,10 +16,12 @@ MAINTAINER= erwin@lansing.dk LIB_DEPENDS= gnugetopt:${PORTSDIR}/devel/libgnugetopt +USE_REINPLACE= yes + MAN1= nomarch.1 post-patch: - @${PERL} -pi -e "s,^CC,#CC,g ; s,^CFLAGS,#CFLAGS,g ; \ + @${REINPLACE_CMD} -e "s,^CC,#CC,g ; s,^CFLAGS,#CFLAGS,g ; \ s,^PREFIX,#PREFIX,g ; \ s,%%LOCALBASE%%,${LOCALBASE},g" ${WRKSRC}/Makefile diff --git a/net/gopher/Makefile b/net/gopher/Makefile index b2d9ecd14cfc..b872012bf437 100644 --- a/net/gopher/Makefile +++ b/net/gopher/Makefile @@ -15,12 +15,14 @@ MAINTAINER= erwin@lansing.dk GNU_CONFIGURE= yes USE_GMAKE= yes +USE_REINPLACE= yes MAN1= gopher.1 gophfilt.1 MAN5= gopherd.conf.5 gopherrc.5 MAN8= gopherd.8 gopherindex.8 pre-patch: - @${FIND} ${WRKSRC} -name '*.[ch]' | xargs ${PERL} -pi -e 's,,,' + @${FIND} ${WRKSRC} -name '*.[ch]' | xargs ${REINPLACE_CMD} -e \ + 's,,,' .include diff --git a/www/asp2php/Makefile b/www/asp2php/Makefile index 4b097f648e56..16c61c5d9ed0 100644 --- a/www/asp2php/Makefile +++ b/www/asp2php/Makefile @@ -16,6 +16,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/a//}/src WANT_GTK= yes MAKE_ENV= FLAGS="${CFLAGS}" +USE_REINPLACE= yes .include @@ -29,7 +30,7 @@ PLIST_SUB+= WANT_GTK="@comment " .endif post-patch: - @${FIND} ${WRKSRC} -name "Makefile" | ${XARGS} ${PERL} -pi -e \ + @${FIND} ${WRKSRC} -name "Makefile" | ${XARGS} ${REINPLACE_CMD} -e \ 's|^CC=|#CC=|g ; \ s| make| \$$\{MAKE\}|g ; \ s|`gtk-config|`\$$\{GTK_CONFIG\}|g' -- cgit v1.2.3