mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
Use <machine/soundcard.h> if we have no <sys/soundcard.h> (found by bento).
This commit is contained in:
parent
8f03be0c2d
commit
58c2bbe204
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=33861
@ -22,6 +22,13 @@ DOC_FILES= CHANGES COPYING
|
||||
DATA_FILES= deep-relax.seq relax.seq test.seq test2.seq test3.seq
|
||||
|
||||
post-patch:
|
||||
@if [ -f /usr/include/sys/soundcard.h ]; then \
|
||||
${PERL} -pi -e "s=linux/soundcard.h=sys/soundcard.h=g" \
|
||||
${WRKSRC}/autozen.c; \
|
||||
else \
|
||||
${PERL} -pi -e "s=linux/soundcard.h=machine/soundcard.h=g" \
|
||||
${WRKSRC}/autozen.c; \
|
||||
fi
|
||||
@${PERL} -pi -e "s=X11BASE=${X11BASE}=g" ${WRKSRC}/autozen.c
|
||||
|
||||
do-install:
|
||||
|
Loading…
Reference in New Issue
Block a user