diff options
author | linimon <linimon@FreeBSD.org> | 2018-10-30 19:56:35 +0800 |
---|---|---|
committer | linimon <linimon@FreeBSD.org> | 2018-10-30 19:56:35 +0800 |
commit | 7ada51acc7c8eac6d05a3233f80b78047d0ca75b (patch) | |
tree | 0a63a88f82cb542de0c083907c8ff8fbf697dc66 /audio | |
parent | ce4d28dd8964288544fe263240fafbd7986ac583 (diff) | |
download | freebsd-ports-gnome-7ada51acc7c8eac6d05a3233f80b78047d0ca75b.tar.gz freebsd-ports-gnome-7ada51acc7c8eac6d05a3233f80b78047d0ca75b.tar.zst freebsd-ports-gnome-7ada51acc7c8eac6d05a3233f80b78047d0ca75b.zip |
Fix build with non-SSE platforms.
PR: 232453
Submitted by: Piotr Kubaj
Diffstat (limited to 'audio')
-rw-r--r-- | audio/supercollider/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
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 <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> |