summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2003-06-11 22:05:09 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2003-06-11 22:05:09 +0000
commitb069388bc00f51906bb1e473f9b65d7a8d227c83 (patch)
tree9e0937db810c20d993c50eb91c00313df813a5d2 /audio
parentUpgrade to version 2.1.1. (diff)
Fix build in 5.x branch: machine/soundcard.h -> sys/soundcard.h
PR: 53171 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=82813
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}|' \