- Always check OPSYS along with OSVERSION

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2017-01-12 17:04:56 +00:00
parent 45c68f6993
commit c9152bbfbc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=431286

View file

@ -24,7 +24,7 @@ PLIST_FILES= sbin/${PORTNAME}
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 1100030
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100030
BUILD_FLAGS= -DBYTESWAP_IP_FLAGS -DBYTESWAP_IP_LEN
.endif