- Check OPSYS along with OSVERSION

This commit is contained in:
Dmitry Marakasov 2014-12-04 16:04:40 +00:00
parent dd0e76f845
commit c82e84ccc9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=373967

View File

@ -41,7 +41,7 @@ USB_CONFIGURE_ON= --with-libusb=/usr
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 1000033
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000033
BUILD_DEPENDS+= flex>0:${PORTSDIR}/textproc/flex
CONFIGURE_ENV+= LEX=${LOCALBASE}/bin/flex
.endif