diff options
author | David W. Chapman Jr. <dwcjr@FreeBSD.org> | 2002-09-01 16:07:59 +0000 |
---|---|---|
committer | David W. Chapman Jr. <dwcjr@FreeBSD.org> | 2002-09-01 16:07:59 +0000 |
commit | 534fffca27bb18f7529d548c46ee3326505a89c7 (patch) | |
tree | a09ac440edd299d85a3517dea62caa2b115543fc /net/rp-pppoe | |
parent | Update for a new patchset, which has only different comments. (diff) |
${PERL} -> ${REINPLACE_CMD}
PR: 40784
Submitted by: corecode@corecode.ath.cx
Reviewed by: flynn@energyhq.homeip.net
Notes
Notes:
svn path=/head/; revision=65426
Diffstat (limited to 'net/rp-pppoe')
-rw-r--r-- | net/rp-pppoe/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/net/rp-pppoe/Makefile b/net/rp-pppoe/Makefile index 256b350e5bf0..12529cf93a94 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 |