audio/audacity: fix build on non-x86

Audacity by default adds --enable-sse on all architectures, which breaks anything but i386 and amd64. Add SSE option to every architecture, but still enable by default only on amd64 and i386. This will add --disable-sse to CONFIGURE_ARGS, which fixes build.

PR:             238140
Approved by:    xxjack12xx@gmail.com (maintainer), tcberner (mentor)
Differential Revision:  https://reviews.freebsd.org/D20422
This commit is contained in:
Piotr Kubaj 2019-06-03 08:52:28 +00:00
parent 3906f44bbc
commit 4263955545
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=503360

View File

@ -12,9 +12,6 @@ COMMENT= GUI editor for digital audio waveforms
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BROKEN_aarch64= fails to configure: checking whether C++ compiler accepts -msse... no
BROKEN_powerpc64= fails to build
BUILD_DEPENDS= autogen:devel/autogen \
bash:shells/bash \
cmake:devel/cmake
@ -43,12 +40,10 @@ USE_GITHUB= yes
OPTIONS_DEFINE= DEBUG DOCS DYNLOAD FFMPEG FLAC ID3TAG LADSPA LAME LV2 \
MAD MOD_NYQ_BENCH MOD_SCRIPT_PIPE NLS SBSMS SOUNDTOUCH \
STATIC_WX TWOLAME VAMP VORBIS VST
SSE STATIC_WX TWOLAME VAMP VORBIS VST
OPTIONS_DEFAULT= FLAC ID3TAG LADSPA MAD SBSMS SOUNDTOUCH TWOLAME VAMP \
VORBIS VST
OPTIONS_DEFINE_amd64= SSE
OPTIONS_DEFINE_i386= SSE
OPTIONS_DEFAULT_amd64= SSE
OPTIONS_DEFAULT_i386= ${MACHINE_CPU:tu:MSSE}