summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-23 06:09:20 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-23 06:09:20 +0000
commit038aa61ae299032e85b4a76ca6d942342910586d (patch)
tree22dce952e5fa1d70aa252798b264b1290df3ed5c
parent${PERL} -> ${REINPLACE_CMD} (diff)
Replace ${PERL} with ${REINPLACE_CMD}
PR: 39675 Submitted by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
-rw-r--r--news/nntpcache/Makefile3
-rw-r--r--news/pyne/Makefile3
-rw-r--r--news/xrn/Makefile3
3 files changed, 6 insertions, 3 deletions
diff --git a/news/nntpcache/Makefile b/news/nntpcache/Makefile
index 9eacbb09878e..56c582a1fc55 100644
--- a/news/nntpcache/Makefile
+++ b/news/nntpcache/Makefile
@@ -31,6 +31,7 @@ LIB_DEPENDS+= lber.2:${PORTSDIR}/net/openldap2
SPOOLDIR?= /var/spool
NO_CDROM= Free for individuals and non-military, non-profit organisations only
+USE_REINPLACE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir=${SPOOLDIR}
@@ -68,7 +69,7 @@ post-configure:
@cd ${WRKSRC}/src && ${GMAKE} ${AUTHINFO_EXT}
post-patch:
- @${PERL} -pi -e 's,AUTOMAKE=automake,AUTOMAKE=automake14,' \
+ @${REINPLACE_CMD} -e 's,AUTOMAKE=automake,AUTOMAKE=automake14,' \
${WRKSRC}/configure
post-install:
diff --git a/news/pyne/Makefile b/news/pyne/Makefile
index f493029dc25d..ae0eaea2ebbd 100644
--- a/news/pyne/Makefile
+++ b/news/pyne/Makefile
@@ -15,10 +15,11 @@ MAINTAINER= ports@FreeBSD.org
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/GTK.py:${PORTSDIR}/x11-toolkits/py-gtk
+USE_REINPLACE= yes
USE_PYTHON= yes
NO_BUILD= yes
post-patch:
- @${PERL} -pi -e "s,^PREFIX,#PREFIX,g" ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e "s,^PREFIX,#PREFIX,g" ${WRKSRC}/Makefile
.include <bsd.port.mk>
diff --git a/news/xrn/Makefile b/news/xrn/Makefile
index 59b697e7b48d..bf05aaa99dd5 100644
--- a/news/xrn/Makefile
+++ b/news/xrn/Makefile
@@ -14,6 +14,7 @@ EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
+USE_REINPLACE= yes
USE_IMAKE= yes
MAN1= xrn.1
MANCOMPRESSED= no
@@ -22,7 +23,7 @@ XFREE86_HTML_MAN= no
DOCS= COMMON-PROBLMS COPYRIGHT CREDITS ChangeLog
post-patch:
- @${PERL} -pi -e "s|^#error.+||g; \
+ @${REINPLACE_CMD} -E -e "s|^#error.+||g; \
s|/usr/lib/sendmail|/usr/sbin/sendmail|g;" ${WRKSRC}/config.h
do-install: