aboutsummaryrefslogtreecommitdiff
path: root/sysutils/whowatch
diff options
context:
space:
mode:
authorDaniel Harris <dannyboy@FreeBSD.org>2002-07-18 12:59:19 +0000
committerDaniel Harris <dannyboy@FreeBSD.org>2002-07-18 12:59:19 +0000
commitdbd6651195423ea014762b24ae13b4e3ce065881 (patch)
tree0c885797ccb6bf1c458f05209d77098a18792fa5 /sysutils/whowatch
parent027a75a6d691cb834a25862890d652413766a993 (diff)
downloadports-dbd6651195423ea014762b24ae13b4e3ce065881.tar.gz
ports-dbd6651195423ea014762b24ae13b4e3ce065881.zip
Notes
Diffstat (limited to 'sysutils/whowatch')
-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