aboutsummaryrefslogtreecommitdiff
path: root/audio/csound/Makefile
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2016-04-06 15:22:52 +0000
committerJohn Marino <marino@FreeBSD.org>2016-04-06 15:22:52 +0000
commit8e443ec3d03fc0a9d5773c48da3ac6fb958cd6ee (patch)
tree6f4c3df58e2f5e2d62b86bad78d026f826322547 /audio/csound/Makefile
parentc08f361805a3adcddb5954aef47e94618b1d1cd0 (diff)
audio/csound: Use OPSYS with OSVERSION
Notes
Notes: svn path=/head/; revision=412625
Diffstat (limited to 'audio/csound/Makefile')
-rw-r--r--audio/csound/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/csound/Makefile b/audio/csound/Makefile
index 1e7a1fed2b07..f57ff2094ed4 100644
--- a/audio/csound/Makefile
+++ b/audio/csound/Makefile
@@ -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