aboutsummaryrefslogtreecommitdiff
path: root/sysutils/whowatch/Makefile
diff options
context:
space:
mode:
authorDaniel Harris <dannyboy@FreeBSD.org>2001-04-19 02:18:38 +0000
committerDaniel Harris <dannyboy@FreeBSD.org>2001-04-19 02:18:38 +0000
commit14c317729b1fdd60a29982bb6a6a02819271fffb (patch)
tree402ba43b1c96b6d95828bc5d58bb65e9b3bed679 /sysutils/whowatch/Makefile
parent9558a9d8ba7a53be6a85e574175a58b06fcb7ef4 (diff)
downloadports-14c317729b1fdd60a29982bb6a6a02819271fffb.tar.gz
ports-14c317729b1fdd60a29982bb6a6a02819271fffb.zip
Notes
Diffstat (limited to 'sysutils/whowatch/Makefile')
-rw-r--r--sysutils/whowatch/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/sysutils/whowatch/Makefile b/sysutils/whowatch/Makefile
index cc67c4cee1ba..07cb78e91e87 100644
--- a/sysutils/whowatch/Makefile
+++ b/sysutils/whowatch/Makefile
@@ -12,8 +12,16 @@ MASTER_SITES= http://wizard.ae.krakow.pl/~mike/download/
MAINTAINER= dannyboy@FreeBSD.org
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 500014
+pre-patch:
+ @${PERL} -pi -e 's/kp_.?proc\.._/ki_/ ; \
+ s/pcred\.p_//' ${WRKSRC}/proc????.c
+.endif
+
GNU_CONFIGURE= yes
MAN1= whowatch.1
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>