aboutsummaryrefslogtreecommitdiff
path: root/sysutils/yawho
diff options
context:
space:
mode:
authorDaniel Harris <dannyboy@FreeBSD.org>2001-04-19 01:41:27 +0000
committerDaniel Harris <dannyboy@FreeBSD.org>2001-04-19 01:41:27 +0000
commit9558a9d8ba7a53be6a85e574175a58b06fcb7ef4 (patch)
tree8d1432f87681d90f2a80b2c69b7e35139caca877 /sysutils/yawho
parent77b5a423c59d369b79322349626c65da9e9a0773 (diff)
downloadports-9558a9d8ba7a53be6a85e574175a58b06fcb7ef4.tar.gz
ports-9558a9d8ba7a53be6a85e574175a58b06fcb7ef4.zip
Notes
Diffstat (limited to 'sysutils/yawho')
-rw-r--r--sysutils/yawho/Makefile9
-rw-r--r--sysutils/yawho/files/patch-aa2
2 files changed, 9 insertions, 2 deletions
diff --git a/sysutils/yawho/Makefile b/sysutils/yawho/Makefile
index 6758c9873fb7..7d1daab3e308 100644
--- a/sysutils/yawho/Makefile
+++ b/sysutils/yawho/Makefile
@@ -12,6 +12,13 @@ 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_/' ${WRKSRC}/process.c
+.endif
+
GNU_CONFIGURE= yes
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/sysutils/yawho/files/patch-aa b/sysutils/yawho/files/patch-aa
index 088b59121a7b..87d823f68937 100644
--- a/sysutils/yawho/files/patch-aa
+++ b/sysutils/yawho/files/patch-aa
@@ -5,7 +5,7 @@
$(LINK) $(yawho_LDFLAGS) $(yawho_OBJECTS) $(yawho_LDADD) $(LIBS)
install:
- $(INSTALL) -o root -m 0755 yawho $(bindir)/yawho
-+ $(BSD_INSTALL_PROGRAM) yawho $(bindir)/yawho
++ $(INSTALL_PROGRAM) yawho $(bindir)/yawho
clean:
rm -f ./*.o
rm -f yawho