diff options
Diffstat (limited to 'sysutils/whowatch/Makefile')
-rw-r--r-- | sysutils/whowatch/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
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 <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 |