Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Oct 2018 11:56:35 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r483476 - head/audio/supercollider
Message-ID:  <201810301156.w9UBuZqU004788@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: linimon
Date: Tue Oct 30 11:56:35 2018
New Revision: 483476
URL: https://svnweb.freebsd.org/changeset/ports/483476

Log:
  Fix build with non-SSE platforms.
  
  PR:		232453
  Submitted by:	Piotr Kubaj

Modified:
  head/audio/supercollider/Makefile

Modified: head/audio/supercollider/Makefile
==============================================================================
--- head/audio/supercollider/Makefile	Tue Oct 30 11:54:54 2018	(r483475)
+++ head/audio/supercollider/Makefile	Tue Oct 30 11:56:35 2018	(r483476)
@@ -20,8 +20,8 @@ LIB_DEPENDS=	libavahi-client.so:net/avahi-app \
 		libsndfile.so:audio/libsndfile \
 		libfftw3f.so:math/fftw3-float
 
-USES=		cmake:outsource iconv localbase pkgconfig qt:5 readline \
-		shared-mime-info tar:bzip2
+USES=		cmake:outsource compiler:c++11-lang iconv localbase pkgconfig \
+		qt:5 readline shared-mime-info tar:bzip2
 USE_QT=		buildtools_build concurrent core gui linguisttools location \
 		network opengl printsupport qmake_build qml quick sensors \
 		sql webkit widgets
@@ -50,6 +50,12 @@ SUPERNOVA_DESC=	Build with supernova as optional audio
 HELP_CMAKE_BOOL=	INSTALL_HELP
 SUPERNOVA_CMAKE_BOOL=	SUPERNOVA
 
+.include <bsd.port.pre.mk>
+
+.if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64
+CMAKE_ARGS+=	-DSSE:BOOL=FALSE -DSSE2:BOOL=FALSE
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|MATCHES "Linux" AND|MATCHES "FreeBSD" AND|' \
 		${WRKSRC}/CMakeLists.txt
@@ -59,4 +65,4 @@ post-patch:
 		${WRKSRC}/server/plugins/CMakeLists.txt
 	@${REINPLACE_CMD} -e 's|__linux__|__FreeBSD__|' ${WRKSRC}/server/supernova/server/main.cpp
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>



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