- Always check OPSYS along with OSVERSION

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2017-01-12 17:05:41 +00:00
parent 06e04e041c
commit ebefd4da6e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=431288

View File

@ -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