aboutsummaryrefslogtreecommitdiffstats
path: root/audio/mpg123
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/mpg123
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/mpg123')
-rw-r--r--audio/mpg123/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/audio/mpg123/Makefile b/audio/mpg123/Makefile
index 268a0d5ef2d8..18017d9628c6 100644
--- a/audio/mpg123/Makefile
+++ b/audio/mpg123/Makefile
@@ -99,4 +99,9 @@ OPT_ARCH?= i586
MAKE_ARGS+= OPT_ARCH=${OPT_ARCH}
.endif
+post-patch:
+ @${SED} -e 's,machine/soundcard.h,sys/soundcard.h,' < \
+ ${WRKSRC}/audio_oss.c > ${WRKSRC}/audio_oss.c.new
+ @${MV} ${WRKSRC}/audio_oss.c.new ${WRKSRC}/audio_oss.c
+
.include <bsd.port.post.mk>