diff options
author | dannyboy <dannyboy@FreeBSD.org> | 2001-04-19 02:18:38 +0000 |
---|---|---|
committer | dannyboy <dannyboy@FreeBSD.org> | 2001-04-19 02:18:38 +0000 |
commit | 962c7d9f747549802c3cb57bfa429d5a274b587f (patch) | |
tree | 47130d8e305b7ac0c955863ff677651e3fe6abf2 /sysutils/whowatch | |
parent | e8accbdad0753fa7c59cbf2d504587657329969f (diff) | |
download | FreeBSD-ports-962c7d9f747549802c3cb57bfa429d5a274b587f.zip FreeBSD-ports-962c7d9f747549802c3cb57bfa429d5a274b587f.tar.gz |
Fix this port on -current.
Diffstat (limited to 'sysutils/whowatch')
-rw-r--r-- | sysutils/whowatch/Makefile | 10 | ||||
-rw-r--r-- | sysutils/whowatch/files/patch-aa | 4 |
2 files changed, 11 insertions, 3 deletions
diff --git a/sysutils/whowatch/Makefile b/sysutils/whowatch/Makefile index cc67c4c..07cb78e 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> diff --git a/sysutils/whowatch/files/patch-aa b/sysutils/whowatch/files/patch-aa index 053c391..dd0f864 100644 --- a/sysutils/whowatch/files/patch-aa +++ b/sysutils/whowatch/files/patch-aa @@ -6,8 +6,8 @@ install: whowatch - $(INSTALL) -m 755 whowatch $(bindir)/whowatch - $(INSTALL) -m 644 whowatch.1 $(mandir)/man1/whowatch.1 -+ $(BSD_INSTALL_PROGRAM) whowatch $(bindir)/whowatch -+ $(BSD_INSTALL_MAN) whowatch.1 $(mandir)/man1/whowatch.1 ++ $(INSTALL_PROGRAM) whowatch $(bindir)/whowatch ++ $(INSTALL_MAN) whowatch.1 $(mandir)/man1/whowatch.1 distclean: make clean |