aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2007-07-24 01:52:19 +0800
committerdanfe <danfe@FreeBSD.org>2007-07-24 01:52:19 +0800
commitef9544a8fb9e28cec0a0a459ea8d1f3c3e2251c8 (patch)
tree74ae88d27e98ec4596e280256d6d49b37a0cf665 /audio
parentbf60d4174c4a9e38dab8fec56f98c61396a8d6b3 (diff)
downloadfreebsd-ports-gnome-ef9544a8fb9e28cec0a0a459ea8d1f3c3e2251c8.tar.gz
freebsd-ports-gnome-ef9544a8fb9e28cec0a0a459ea8d1f3c3e2251c8.tar.zst
freebsd-ports-gnome-ef9544a8fb9e28cec0a0a459ea8d1f3c3e2251c8.zip
- Better SSE detection [1]
- Reindent comment about GCC 4.x PR: ports/114709 [1] Submitted by: trasz [1]
Diffstat (limited to 'audio')
-rw-r--r--audio/soundtouch/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/audio/soundtouch/Makefile b/audio/soundtouch/Makefile
index a6fc91682e15..1b3e5ae0957f 100644
--- a/audio/soundtouch/Makefile
+++ b/audio/soundtouch/Makefile
@@ -27,8 +27,11 @@ post-patch: .SILENT
's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g; \
s|-O3[^I]*|${CXXFLAGS} -|; s|$$(prefix)/doc|$$(datadir)/doc|; \
s|COPYING.TXT||'
- # Fix for GCC 4.x
+# Fix for GCC 4.x
${REINPLACE_CMD} -e 's|SoundTouch::||' ${WRKSRC}/include/SoundTouch.h
+# Better SSE detection
+ ${REINPLACE_CMD} -e '135s|__x86_64__|&) \&\& defined(__SSE__|' \
+ ${WRKSRC}/include/STTypes.h
.if defined(NOPORTDOCS)
${REINPLACE_CMD} -e 's| install-pkgdocDATA$$||' \
${WRKSRC}/Makefile.in