aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
Diffstat (limited to 'audio')
-rw-r--r--audio/portaudio/Makefile4
-rw-r--r--audio/portaudio2/Makefile4
2 files changed, 6 insertions, 2 deletions
diff --git a/audio/portaudio/Makefile b/audio/portaudio/Makefile
index 37e0c64658ff..8eaaf864a9da 100644
--- a/audio/portaudio/Makefile
+++ b/audio/portaudio/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}|' \
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}|' \