svn commit: r483476 - head/audio/supercollider

Mark Linimon linimon at FreeBSD.org
Tue Oct 30 11:56:36 UTC 2018


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>


More information about the svn-ports-head mailing list