From 7ada51acc7c8eac6d05a3233f80b78047d0ca75b Mon Sep 17 00:00:00 2001 From: linimon Date: Tue, 30 Oct 2018 11:56:35 +0000 Subject: Fix build with non-SSE platforms. PR: 232453 Submitted by: Piotr Kubaj --- audio/supercollider/Makefile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'audio') diff --git a/audio/supercollider/Makefile b/audio/supercollider/Makefile index 6972c2b86265..d491a763454f 100644 --- a/audio/supercollider/Makefile +++ b/audio/supercollider/Makefile @@ -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 synthesis server HELP_CMAKE_BOOL= INSTALL_HELP SUPERNOVA_CMAKE_BOOL= SUPERNOVA +.include + +.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 +.include -- cgit