aboutsummaryrefslogtreecommitdiffstats
path: root/audio/soundtouch
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2015-09-18 02:53:18 +0800
committerjbeich <jbeich@FreeBSD.org>2015-09-18 02:53:18 +0800
commit529959fedf2864b567934bccde0c64455082db71 (patch)
tree972bc76e125980e0a4244a83084c6b744234af34 /audio/soundtouch
parent27f5eab78ab5a566f74d96646e9af0ab6957cb54 (diff)
downloadfreebsd-ports-gnome-529959fedf2864b567934bccde0c64455082db71.tar.gz
freebsd-ports-gnome-529959fedf2864b567934bccde0c64455082db71.tar.zst
freebsd-ports-gnome-529959fedf2864b567934bccde0c64455082db71.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)
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 \