summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authordwcjr <dwcjr@FreeBSD.org>2002-09-01 16:07:59 +0000
committerdwcjr <dwcjr@FreeBSD.org>2002-09-01 16:07:59 +0000
commitfd50192ea7567a034b59dfc96a1d112f8ccfa573 (patch)
tree6975c46330f04e77b17cb4d014c9d66ceb4f7a68 /net
parent54d69c112debb52b84b6d174bd59479eec834fb7 (diff)
downloadFreeBSD-ports-fd50192ea7567a034b59dfc96a1d112f8ccfa573.zip
FreeBSD-ports-fd50192ea7567a034b59dfc96a1d112f8ccfa573.tar.gz
${PERL} -> ${REINPLACE_CMD}
PR: 40784 Submitted by: corecode@corecode.ath.cx Reviewed by: flynn@energyhq.homeip.net
Diffstat (limited to 'net')
-rw-r--r--net/rp-pppoe/Makefile13
-rw-r--r--net/walker/Makefile3
2 files changed, 9 insertions, 7 deletions
diff --git a/net/rp-pppoe/Makefile b/net/rp-pppoe/Makefile
index 256b350..12529cf 100644
--- a/net/rp-pppoe/Makefile
+++ b/net/rp-pppoe/Makefile
@@ -15,6 +15,7 @@ MAINTAINER= ports@FreeBSD.org
BROKEN= Does not work well with FreeBSD\'s pppd, yet.\
Need help to be fixed
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
CONFIGURE_WRKSRC= ${WRKSRC}/src
@@ -33,18 +34,18 @@ SCRIPT_FILES= adsl-connect adsl-init adsl-setup adsl-start \
adsl-status adsl-stop
post-patch:
- @${PERL} -pi -ne "s!/etc/ppp!${PREFIX}/etc/ppp!g" ${WRKSRC}/man/*
- @${PERL} -pi -ne 's!/etc/ppp!\$$\(prefix)/etc/ppp!g' \
+ @${REINPLACE_CMD} -e "s!/etc/ppp!${PREFIX}/etc/ppp!g" ${WRKSRC}/man/*
+ @${REINPLACE_CMD} -e 's!/etc/ppp!$$(prefix)/etc/ppp!g' \
${WRKSRC}/src/Makefile.in
.for file in adsl-connect adsl-init adsl-setup adsl-start
- @${PERL} -pi -ne 's!/etc/+ppp!\$$\{prefix}/etc/ppp!g' \
+ @${REINPLACE_CMD} -e 's!/etc/+ppp!$${prefix}/etc/ppp!g' \
${WRKSRC}/scripts/${file}.in
.endfor
- @${PERL} -pi -ne 's!pty!tty!g' ${WRKSRC}/scripts/adsl-connect.in
- @${PERL} -pi -ne 's!/var/lock/subsys/adsl!/var/tmp/rp_pppoe_adsl!g' \
+ @${REINPLACE_CMD} -e 's!pty!tty!g' ${WRKSRC}/scripts/adsl-connect.in
+ @${REINPLACE_CMD} -e 's!/var/lock/subsys/adsl!/var/tmp/rp_pppoe_adsl!g' \
${WRKSRC}/scripts/adsl-init.in
.for file in adsl-status adsl-stop.in
- @${PERL} -pi -ne "s!/etc/ppp!${PREFIX}/etc/ppp!g" \
+ @${REINPLACE_CMD} -e "s!/etc/ppp!${PREFIX}/etc/ppp!g" \
${WRKSRC}/scripts/${file}
.endfor
diff --git a/net/walker/Makefile b/net/walker/Makefile
index 9ef2a7c..1ff5dd7 100644
--- a/net/walker/Makefile
+++ b/net/walker/Makefile
@@ -15,10 +15,11 @@ MAINTAINER= ports@FreeBSD.org
RUN_DEPENDS= ${LOCALBASE}/bin/dig:${PORTSDIR}/net/bind9
+USE_REINPLACE= yes
NO_BUILD= yes
post-patch:
- @${PERL} -pi -e "s,\`dig,\`${LOCALBASE}/bin/dig,g" ${WRKSRC}/walker
+ @${REINPLACE_CMD} -e 's,`dig,`${LOCALBASE}/bin/dig,g' ${WRKSRC}/walker
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/walker ${PREFIX}/bin
OpenPOWER on IntegriCloud