aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2007-07-23 17:52:19 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2007-07-23 17:52:19 +0000
commitf85a46d298d009d6b2ce159ba78736d0a59a720b (patch)
tree5368c4ed4fb2169b13d825b21fa664f4af41bdc9 /audio
parent5d98677d5702cb387d224e83cc617b8d03b068d1 (diff)
downloadports-f85a46d298d009d6b2ce159ba78736d0a59a720b.tar.gz
ports-f85a46d298d009d6b2ce159ba78736d0a59a720b.zip
Notes
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