aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authordannyboy <dannyboy@FreeBSD.org>2002-07-18 20:59:19 +0800
committerdannyboy <dannyboy@FreeBSD.org>2002-07-18 20:59:19 +0800
commit3481a953fd3a69eb4bccce6fed7410271b89a789 (patch)
treee158ddedfb335553468a98ba13e81b44741eb4d7 /sysutils
parent91b1baadee2345abfa6dceed6545118b72c08a64 (diff)
downloadfreebsd-ports-graphics-3481a953fd3a69eb4bccce6fed7410271b89a789.tar.gz
freebsd-ports-graphics-3481a953fd3a69eb4bccce6fed7410271b89a789.tar.zst
freebsd-ports-graphics-3481a953fd3a69eb4bccce6fed7410271b89a789.zip
USE_REINPLACE.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/whowatch/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/sysutils/whowatch/Makefile b/sysutils/whowatch/Makefile
index 07cb78e91e8..f01b8e8aeb0 100644
--- a/sysutils/whowatch/Makefile
+++ b/sysutils/whowatch/Makefile
@@ -12,12 +12,14 @@ MASTER_SITES= http://wizard.ae.krakow.pl/~mike/download/
MAINTAINER= dannyboy@FreeBSD.org
+USE_REINPLACE= yes
+
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500014
pre-patch:
- @${PERL} -pi -e 's/kp_.?proc\.._/ki_/ ; \
- s/pcred\.p_//' ${WRKSRC}/proc????.c
+ @find ${WRKSRC} -name 'proc????.c' | xargs ${REINPLACE_CMD} -E -e \
+ 's/kp_.?proc\.._/ki_/ ; s/pcred\.p_//'
.endif
GNU_CONFIGURE= yes