audio/csound: Use OPSYS with OSVERSION

This commit is contained in:
John Marino 2016-04-06 15:22:52 +00:00
parent c08f361805
commit 8e443ec3d0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=412625

View File

@ -135,12 +135,12 @@ CSOUND_DOCS= Csound${PORTVERSION:R}_manual_html.zip
MAKE_ARGS+= Word64=1
.endif
.if ${OSVERSION} < 1000033
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000033
BUILD_DEPENDS+= flex>0:textproc/flex
MAKE_ENV+= PATH=${LOCALBASE}/bin:$$PATH
.endif
.if ${OSVERSION} >= 1000054
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000054
CXXLIB= c++
.else
CXXLIB= # empty