diff options
author | dannyboy <dannyboy@FreeBSD.org> | 2001-04-19 09:41:27 +0800 |
---|---|---|
committer | dannyboy <dannyboy@FreeBSD.org> | 2001-04-19 09:41:27 +0800 |
commit | e8accbdad0753fa7c59cbf2d504587657329969f (patch) | |
tree | 5618d6d276898d4cc63f09440e9f2ddaf29285e4 /sysutils/yawho | |
parent | b855c6d4d9850f78df84895c18e99c23b796e536 (diff) | |
download | freebsd-ports-gnome-e8accbdad0753fa7c59cbf2d504587657329969f.tar.gz freebsd-ports-gnome-e8accbdad0753fa7c59cbf2d504587657329969f.tar.zst freebsd-ports-gnome-e8accbdad0753fa7c59cbf2d504587657329969f.zip |
Fix this port for -current.
Diffstat (limited to 'sysutils/yawho')
-rw-r--r-- | sysutils/yawho/Makefile | 9 | ||||
-rw-r--r-- | sysutils/yawho/files/patch-aa | 2 |
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 |