aboutsummaryrefslogtreecommitdiffstats
path: root/audio/timidity
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 /audio/timidity
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 '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} && \