summaryrefslogtreecommitdiff
path: root/audio/portaudio2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/portaudio2/Makefile')
-rw-r--r--audio/portaudio2/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/audio/portaudio2/Makefile b/audio/portaudio2/Makefile
index 37e0c64658ff..8eaaf864a9da 100644
--- a/audio/portaudio2/Makefile
+++ b/audio/portaudio2/Makefile
@@ -31,7 +31,9 @@ post-patch:
| ${XARGS} -x -n 10 \
${REINPLACE_CMD} -E \
-e 's| ||' \
- -e 's|malloc.h|stdlib.h|'
+ -e 's|malloc.h|stdlib.h|' \
+ -e 's|machine\/soundcard.h|sys\/soundcard.h|'
+
# C{C,FLAGS} and PREFIX safeness
@${REINPLACE_CMD} -E \
-e 's|gcc|${CC} ${CFLAGS}|' \