1
0
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:
Trevor Johnson 2000-12-31 15:43:46 +00:00
parent d4e42d1f4f
commit 2b601c467a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=36539

View File

@ -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