aboutsummaryrefslogtreecommitdiffstats
path: root/net/cnet
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-06-23 14:04:01 +0800
committerijliao <ijliao@FreeBSD.org>2002-06-23 14:04:01 +0800
commit2e5a089158bc145f89582021e74d01797d009897 (patch)
treef579cbe02fdbd28a1f909c61649a01ccee65bb50 /net/cnet
parentf3cdfeb23d80a8c403d671681536a62f5c7dd3b0 (diff)
downloadfreebsd-ports-graphics-2e5a089158bc145f89582021e74d01797d009897.tar.gz
freebsd-ports-graphics-2e5a089158bc145f89582021e74d01797d009897.tar.zst
freebsd-ports-graphics-2e5a089158bc145f89582021e74d01797d009897.zip
Replace ${PERL} with ${REINPLACE_CMD}
PR: 39668 Submitted by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
Diffstat (limited to 'net/cnet')
-rw-r--r--net/cnet/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/cnet/Makefile b/net/cnet/Makefile
index 875ebab6890..dc679de924d 100644
--- a/net/cnet/Makefile
+++ b/net/cnet/Makefile
@@ -15,6 +15,7 @@ MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= tk83.1:${PORTSDIR}/x11-toolkits/tk83
+USE_REINPLACE= yes
USE_X_PREFIX= yes
USE_XPM= yes
USE_GMAKE= yes
@@ -22,9 +23,9 @@ ALL_TARGET= # empty
MAN1= cnet.1
post-patch:
- @${PERL} -pi -e 's|8.2|8.3|g ; \
+ @${REINPLACE_CMD} -e 's|8.2|8.3|g ; \
s|82|83|g' ${WRKSRC}/src/Makefile.freebsd
- @${PERL} -pi -e 's|%%CC%%|${CC}|g ; \
+ @${REINPLACE_CMD} -e 's|%%CC%%|${CC}|g ; \
s|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/src/config.h
do-install: