aboutsummaryrefslogtreecommitdiffstats
path: root/audio/play
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/play
parent9e77c34b55ad5f09668f9893e22e0500633dd797 (diff)
downloadfreebsd-ports-graphics-9da515ee47165aec61cb8137029c868edc28ebb5.tar.gz
freebsd-ports-graphics-9da515ee47165aec61cb8137029c868edc28ebb5.tar.zst
freebsd-ports-graphics-9da515ee47165aec61cb8137029c868edc28ebb5.zip
machine/soundcard.h -> sys/soundcard.h
Submitted by: bento
Diffstat (limited to 'audio/play')
-rw-r--r--audio/play/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/audio/play/Makefile b/audio/play/Makefile
index 24e7bf0c6e9..aab44d23ced 100644
--- a/audio/play/Makefile
+++ b/audio/play/Makefile
@@ -15,4 +15,13 @@ MAINTAINER= seiken@ARGV.AC
MANLANG= ja
MAN1= play.1
MANCOMPRESSED = yes
+
+post-patch:
+.for file in play_audio.c mixer_ctl.c encode_sun.c encode_riff.c speed.c
+ @${CHMOD} u+w ${WRKSRC}/${file}
+ @${SED} 's,machine/soundcard.h,sys/soundcard.h,' < ${WRKSRC}/${file} \
+ > ${WRKSRC}/${file}.new
+ @${MV} ${WRKSRC}/${file}.new ${WRKSRC}/${file}
+.endfor
+
.include <bsd.port.mk>