aboutsummaryrefslogtreecommitdiffstats
path: root/audio/radio
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/radio
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/radio')
-rw-r--r--audio/radio/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/audio/radio/Makefile b/audio/radio/Makefile
index 18c457fa625b..b1160de6ac64 100644
--- a/audio/radio/Makefile
+++ b/audio/radio/Makefile
@@ -17,4 +17,9 @@ NO_WRKSUBDIR= yes
MAKE_FLAGS= FreeBSD -f
MAN1= radio.1 broadcast.1
+post-patch:
+ @${SED} -e 's,machine/soundcard.h,sys/soundcard.h,' < \
+ ${WRKSRC}/radio.c > ${WRKSRC}/radio.c.new
+ @${MV} ${WRKSRC}/radio.c.new ${WRKSRC}/radio.c
+
.include <bsd.port.mk>