aboutsummaryrefslogtreecommitdiff
path: root/audio/speak_freely
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2002-06-07 02:21:52 +0000
committerPete Fritchman <petef@FreeBSD.org>2002-06-07 02:21:52 +0000
commit0467aae499c92d2291845dfda27e5622a727a993 (patch)
tree34ed02ae681900dda940f9ba00d20f84e185a83b /audio/speak_freely
parent3842be24171bd26fb70d2551ccf75d9cddff3e53 (diff)
downloadports-0467aae499c92d2291845dfda27e5622a727a993.tar.gz
ports-0467aae499c92d2291845dfda27e5622a727a993.zip
machine/soundcard.h -> sys/soundcard.h
Submitted by: bento
Notes
Notes: svn path=/head/; revision=60745
Diffstat (limited to 'audio/speak_freely')
-rw-r--r--audio/speak_freely/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/audio/speak_freely/Makefile b/audio/speak_freely/Makefile
index 36059ba7f46d..56ddd107a7af 100644
--- a/audio/speak_freely/Makefile
+++ b/audio/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}; \