aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2003-06-12 06:05:09 +0800
committerlioux <lioux@FreeBSD.org>2003-06-12 06:05:09 +0800
commit82b825754a99d9e817c7fad31ceb442bf358c920 (patch)
treeea39116bc2f7c40ee2ac80e953fc570650594edc /audio
parenta0016b28d147de63d03266bed28d149fba5427b6 (diff)
downloadfreebsd-ports-gnome-82b825754a99d9e817c7fad31ceb442bf358c920.tar.gz
freebsd-ports-gnome-82b825754a99d9e817c7fad31ceb442bf358c920.tar.zst
freebsd-ports-gnome-82b825754a99d9e817c7fad31ceb442bf358c920.zip
Fix build in 5.x branch: machine/soundcard.h -> sys/soundcard.h
PR: 53171 Submitted by: maintainer
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}|' \