Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Apr 2016 15:22:52 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r412625 - head/audio/csound
Message-ID:  <201604061522.u36FMqe2083220@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604061522.u36FMqe2083220>