aboutsummaryrefslogtreecommitdiff
path: root/audio/timidity
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/timidity
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/timidity')
-rw-r--r--audio/timidity/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/audio/timidity/Makefile b/audio/timidity/Makefile
index 5cd39f70b439..7e73fd36e428 100644
--- a/audio/timidity/Makefile
+++ b/audio/timidity/Makefile
@@ -21,6 +21,11 @@ TIINS= goemon.tgz
INSTALL_TARGET= install.all
MAN1= timidity.1
+post-patch:
+ @${SED} -e 's,machine/soundcard.h,sys/soundcard.h,' < \
+ ${WRKSRC}/linux_a.c > ${WRKSRC}/linux_a.c.new
+ @${MV} ${WRKSRC}/linux_a.c.new ${WRKSRC}/linux_a.c
+
post-install:
cd ${PREFIX}/lib/timidity && \
tar zxf ${DISTDIR}/${TIINS} && \