- Fix build on -CURRENT

PR:		209771
Submitted by:	portmaster@bsdforge.com (maintainer)
This commit is contained in:
Dmitry Marakasov 2016-06-15 16:58:01 +00:00
parent 6f22e99d12
commit 8602859c51
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=416930

View File

@ -3,14 +3,26 @@
PORTNAME= and
PORTVERSION= 1.2.2
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= SF
MAINTAINER= portmaster@BSDforge.com
COMMENT= Auto Nice Daemon
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= gmake
ALL_TARGET= default
NOPRECIOUSMAKEVARS= yes
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 1100095
post-patch:
@${REINPLACE_CMD} "s,P_KTHREAD,P_KPROC,g" \
${WRKSRC}/Makefile ${WRKSRC}/and-OpenBSD.c
.endif
.include <bsd.port.post.mk>