aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2007-06-13 21:14:01 +0800
committerdanfe <danfe@FreeBSD.org>2007-06-13 21:14:01 +0800
commitdf5f283952b002d2ddec00f2d1ba6de98099518f (patch)
treea405f276b51596520dd1c048938ec6e9c28fa5c8 /audio
parent7236fe7eaab26dd950ea76b89054e76c1d711a0f (diff)
downloadfreebsd-ports-gnome-df5f283952b002d2ddec00f2d1ba6de98099518f.tar.gz
freebsd-ports-gnome-df5f283952b002d2ddec00f2d1ba6de98099518f.tar.zst
freebsd-ports-gnome-df5f283952b002d2ddec00f2d1ba6de98099518f.zip
Try to do a better job respecting C[XX]FLAGS. This also aids ia64
build. Hint via: pointyhat
Diffstat (limited to 'audio')
-rw-r--r--audio/soundtouch/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/soundtouch/Makefile b/audio/soundtouch/Makefile
index 231cf027dda1..a6fc91682e15 100644
--- a/audio/soundtouch/Makefile
+++ b/audio/soundtouch/Makefile
@@ -25,7 +25,7 @@ post-patch: .SILENT
.endfor
${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g; \
- s|-O3|${CFLAGS}|; s|$$(prefix)/doc|$$(datadir)/doc|; \
+ s|-O3[^I]*|${CXXFLAGS} -|; s|$$(prefix)/doc|$$(datadir)/doc|; \
s|COPYING.TXT||'
# Fix for GCC 4.x
${REINPLACE_CMD} -e 's|SoundTouch::||' ${WRKSRC}/include/SoundTouch.h