summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2017-01-12 17:05:41 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2017-01-12 17:05:41 +0000
commitebefd4da6edfc2fe7e5def4cc3f1dd874cacbafa (patch)
treec91eba4f403a795313c6cdd9acc196ad9b4a83d2
parent- Always check OPSYS along with OSVERSION (diff)
- Always check OPSYS along with OSVERSION
Approved by: portmgr blanket
Notes
Notes: svn path=/head/; revision=431288
-rw-r--r--sysutils/and/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysutils/and/Makefile b/sysutils/and/Makefile
index ab3f1a8818ef..f62f6e22303d 100644
--- a/sysutils/and/Makefile
+++ b/sysutils/and/Makefile
@@ -19,7 +19,7 @@ NOPRECIOUSMAKEVARS= yes
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 1100095
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100095
post-patch:
@${REINPLACE_CMD} "s,P_KTHREAD,P_KPROC,g" \
${WRKSRC}/Makefile ${WRKSRC}/and-OpenBSD.c