summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
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 07cb78e91e87..f01b8e8aeb0d 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