- Always accompany OSVERSION check with OPSYS check

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2017-04-07 15:57:20 +00:00
parent ab83df2487
commit ad3e4d802d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=437929

View File

@ -84,7 +84,7 @@ OPTIONS_EXCLUDE_DragonFly= FUSE
post-patch:
# Fix P_KTHREAD r295435
.if ${OSVERSION} >= 1100097
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100097
${REINPLACE_CMD} 's/P_KTHREAD/P_KPROC/' ${WRKSRC}/lib/utils.c
.endif
${REINPLACE_CMD} 's/python/${PYTHON_VERSION}/' \