summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2002-11-04 01:03:42 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2002-11-04 01:03:42 +0000
commit654a9835645b851d4440e369fc68b7618c6c6ac1 (patch)
treed8c490c3dd39a7e80d58fd7df7c4db5681ea1e67 /net
parentThe distfile has been renamed to solve the y2k problem. (diff)
PERL -> REINPLACE
Noticed by: bento
Notes
Notes: svn path=/head/; revision=69406
Diffstat (limited to 'net')
-rw-r--r--net/trafcount/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/net/trafcount/Makefile b/net/trafcount/Makefile
index fd1a48da6454..d12f7bfa5447 100644
--- a/net/trafcount/Makefile
+++ b/net/trafcount/Makefile
@@ -19,11 +19,14 @@ STARTUP= trafcount.sh
MAN1= trafcount.1
MAN_COMPRESSED= no
+USE_REINPLACE= yes
post-patch:
- @${PERL} -pi.fbsd -e 's@kmoddir=/modules@kmoddir=${PREFIX}/libexec@g' ${WRKSRC}/trafcount.sh
- @${PERL} -pi.fbsd -e 's@/usr/local@${PREFIX}@g' \
- ${WRKSRC}/client/Makefile ${WRKSRC}/module/Makefile ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e 's@kmoddir=/modules@kmoddir=${PREFIX}/libexec@g' \
+ ${WRKSRC}/trafcount.sh
+ @${REINPLACE_CMD} -e 's@/usr/local@${PREFIX}@g' \
+ ${WRKSRC}/client/Makefile ${WRKSRC}/module/Makefile \
+ ${WRKSRC}/Makefile
.if !exists(/usr/src/sys/Makefile)
BROKEN= "Kernel source files required"