aboutsummaryrefslogtreecommitdiff
path: root/audio/soundtouch
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2007-06-13 13:14:01 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2007-06-13 13:14:01 +0000
commita09dfc79ecacabdba8e10edb88e236a3b868cca7 (patch)
tree23a98413b0e2ca69d58dd4baf1ae91dfce4c1fef /audio/soundtouch
parentd332560b43cdd7801169f2b6be53ce2b6030e016 (diff)
downloadports-a09dfc79ecacabdba8e10edb88e236a3b868cca7.tar.gz
ports-a09dfc79ecacabdba8e10edb88e236a3b868cca7.zip
Try to do a better job respecting C[XX]FLAGS. This also aids ia64
build. Hint via: pointyhat
Notes
Notes: svn path=/head/; revision=193394
Diffstat (limited to 'audio/soundtouch')
-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