aboutsummaryrefslogtreecommitdiff
path: root/audio/soundtouch
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2015-09-17 18:53:18 +0000
committerJan Beich <jbeich@FreeBSD.org>2015-09-17 18:53:18 +0000
commit76ae087e1b2f256c3261fd906c7fb3b7ed16215a (patch)
tree972bc76e125980e0a4244a83084c6b744234af34 /audio/soundtouch
parent67cfc2b92e63d6db30568a2d0f2cf645ae8c4987 (diff)
downloadports-76ae087e1b2f256c3261fd906c7fb3b7ed16215a.tar.gz
ports-76ae087e1b2f256c3261fd906c7fb3b7ed16215a.zip
audio/soundtouch: adjust options
- Make INTEGER_SAMPLES default on platforms with emulated floating point to be in sync with r395349 [1] - Fix SSE detection on 9.x by requesting a modern compiler with cpuid.h [2] PR: 202642 [1], 202646 [2] Approved by: maintainer timeout (3 weeks)
Notes
Notes: svn path=/head/; revision=397202
Diffstat (limited to 'audio/soundtouch')
-rw-r--r--audio/soundtouch/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/audio/soundtouch/Makefile b/audio/soundtouch/Makefile
index 6a98dc1b8a05..03be5d93e3c2 100644
--- a/audio/soundtouch/Makefile
+++ b/audio/soundtouch/Makefile
@@ -3,6 +3,7 @@
PORTNAME= soundtouch
PORTVERSION= 1.9.0
+PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://www.surina.net/soundtouch/
@@ -21,6 +22,7 @@ USES= autoreconf libtool pathfix
PATHFIX_MAKEFILEIN= Makefile.am
OPTIONS_DEFINE= INTEGER_SAMPLES DOCS OPENMP
+OPTIONS_DEFAULT= ${MACHINE_CPU:tu:MSOFTFP:S/SOFTFP/INTEGER_SAMPLES/}
OPTIONS_DEFINE_amd64= SSE
OPTIONS_DEFINE_i386= SSE
OPTIONS_DEFAULT_amd64= SSE
@@ -31,6 +33,7 @@ INTEGER_SAMPLES_CONFIGURE_ENABLE= integer-samples
OPENMP_CONFIGURE_ENABLE=openmp
OPENMP_USES= compiler:openmp
SSE_CONFIGURE_ENABLE= x86-optimizations
+SSE_USES= compiler:c++11-lang
post-patch:
@${REINPLACE_CMD} -e \