From 3481a953fd3a69eb4bccce6fed7410271b89a789 Mon Sep 17 00:00:00 2001 From: dannyboy Date: Thu, 18 Jul 2002 12:59:19 +0000 Subject: USE_REINPLACE. --- sysutils/whowatch/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'sysutils/whowatch') diff --git a/sysutils/whowatch/Makefile b/sysutils/whowatch/Makefile index 07cb78e..f01b8e8 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 .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 -- cgit v1.1