aboutsummaryrefslogtreecommitdiffstats
path: root/mbone
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2002-06-07 10:21:52 +0800
committerpetef <petef@FreeBSD.org>2002-06-07 10:21:52 +0800
commit9da515ee47165aec61cb8137029c868edc28ebb5 (patch)
treed6bfce7faf476642ebb341e245bd82c6943ed92e /mbone
parent9e77c34b55ad5f09668f9893e22e0500633dd797 (diff)
downloadfreebsd-ports-gnome-9da515ee47165aec61cb8137029c868edc28ebb5.tar.gz
freebsd-ports-gnome-9da515ee47165aec61cb8137029c868edc28ebb5.tar.zst
freebsd-ports-gnome-9da515ee47165aec61cb8137029c868edc28ebb5.zip
machine/soundcard.h -> sys/soundcard.h
Submitted by: bento
Diffstat (limited to 'mbone')
-rw-r--r--mbone/speak_freely/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/mbone/speak_freely/Makefile b/mbone/speak_freely/Makefile
index 36059ba7f46d..56ddd107a7af 100644
--- a/mbone/speak_freely/Makefile
+++ b/mbone/speak_freely/Makefile
@@ -22,6 +22,11 @@ MAN1= ${UTILS:S/$/.1/} ${DEMNS:S/$/.1/} ${DDEMNS:S/$/.1/}
MAKE_ENV= "OPTFLAGS=${CFLAGS}"
+post-patch:
+ @${SED} -e 's,machine/soundcard.h,sys/soundcard.h,' < \
+ ${WRKSRC}/soundbyte.c > ${WRKSRC}/soundbyte.c.new
+ @${MV} ${WRKSRC}/soundbyte.c.new ${WRKSRC}/soundbyte.c
+
do-install:
if [ ! -d ${SFLIB} ]; then \
${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755 ${SFLIB}; \