aboutsummaryrefslogtreecommitdiff
path: root/sysutils/and
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-06-15 16:58:01 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-06-15 16:58:01 +0000
commit8602859c513942038067b8f36f6879d668072b43 (patch)
tree4aa1342755ce426a72739f2c41b0a9ae33648f56 /sysutils/and
parent6f22e99d123f8a365f7e2841432e2aa7c1f32abb (diff)
downloadports-8602859c513942038067b8f36f6879d668072b43.tar.gz
ports-8602859c513942038067b8f36f6879d668072b43.zip
- Fix build on -CURRENT
PR: 209771 Submitted by: portmaster@bsdforge.com (maintainer)
Notes
Notes: svn path=/head/; revision=416930
Diffstat (limited to 'sysutils/and')
-rw-r--r--sysutils/and/Makefile14
1 files changed, 13 insertions, 1 deletions
diff --git a/sysutils/and/Makefile b/sysutils/and/Makefile
index 41968e1f5348..ab3f1a8818ef 100644
--- a/sysutils/and/Makefile
+++ b/sysutils/and/Makefile
@@ -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>