diff options
author | dannyboy <dannyboy@FreeBSD.org> | 2001-04-19 10:18:38 +0800 |
---|---|---|
committer | dannyboy <dannyboy@FreeBSD.org> | 2001-04-19 10:18:38 +0800 |
commit | 962c7d9f747549802c3cb57bfa429d5a274b587f (patch) | |
tree | 47130d8e305b7ac0c955863ff677651e3fe6abf2 /sysutils | |
parent | e8accbdad0753fa7c59cbf2d504587657329969f (diff) | |
download | freebsd-ports-gnome-962c7d9f747549802c3cb57bfa429d5a274b587f.tar.gz freebsd-ports-gnome-962c7d9f747549802c3cb57bfa429d5a274b587f.tar.zst freebsd-ports-gnome-962c7d9f747549802c3cb57bfa429d5a274b587f.zip |
Fix this port on -current.
Diffstat (limited to 'sysutils')
-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 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> diff --git a/sysutils/whowatch/files/patch-aa b/sysutils/whowatch/files/patch-aa index 053c3914337b..dd0f8649825f 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 |