mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-18 08:02:48 +00:00
Patch ossmixer.hh to #include <machine/soundcard.h> on old systems.
This commit is contained in:
parent
d4e42d1f4f
commit
2b601c467a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=36539
@ -29,6 +29,11 @@ pre-install:
|
||||
${ECHO} @dirrm ${DOCDIR} >> ${PLIST}
|
||||
.endif
|
||||
|
||||
do-patch:
|
||||
.if exists(/usr/include/machine/soundcard.h)
|
||||
${PERL} -pi -e "s=sys/soundca=machine/soundca=g" ${WRKSRC}/ossmixer.hh
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/opmixer ${WRKSRC}/opmixer-load \
|
||||
${PREFIX}/bin
|
||||
|
Loading…
Reference in New Issue
Block a user