svn commit: r412625 - head/audio/csound

John Marino marino at FreeBSD.org
Wed Apr 6 15:22:53 UTC 2016


Author: marino
Date: Wed Apr  6 15:22:52 2016
New Revision: 412625
URL: https://svnweb.freebsd.org/changeset/ports/412625

Log:
  audio/csound: Use OPSYS with OSVERSION

Modified:
  head/audio/csound/Makefile

Modified: head/audio/csound/Makefile
==============================================================================
--- head/audio/csound/Makefile	Wed Apr  6 15:01:13 2016	(r412624)
+++ head/audio/csound/Makefile	Wed Apr  6 15:22:52 2016	(r412625)
@@ -135,12 +135,12 @@ CSOUND_DOCS=	Csound${PORTVERSION:R}_manu
 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


More information about the svn-ports-all mailing list