summaryrefslogtreecommitdiff
path: root/audio/ac3dec
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/ac3dec
parentRespect NOPORTDOCS (diff)
machine/soundcard.h -> sys/soundcard.h
Submitted by: bento
Notes
Notes: svn path=/head/; revision=60745
Diffstat (limited to 'audio/ac3dec')
-rw-r--r--audio/ac3dec/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/audio/ac3dec/Makefile b/audio/ac3dec/Makefile
index 5936e03b4809..c39f96e8390c 100644
--- a/audio/ac3dec/Makefile
+++ b/audio/ac3dec/Makefile
@@ -15,6 +15,11 @@ MAINTAINER= 3d@FreeBSD.org
GNU_CONFIGURE= yes
USE_NEWGCC= yes
+post-patch:
+ @${SED} -e 's,machine/soundcard.h,sys/soundcard.h,' \
+ < ${WRKSRC}/output.c > ${WRKSRC}/output.c.new
+ @${MV} ${WRKSRC}/output.c.new ${WRKSRC}/output.c
+
pre-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/ac3dec