diff options
author | Trevor Johnson <trevor@FreeBSD.org> | 2000-12-31 15:43:46 +0000 |
---|---|---|
committer | Trevor Johnson <trevor@FreeBSD.org> | 2000-12-31 15:43:46 +0000 |
commit | 2b601c467afc89fec247841de176254b98548248 (patch) | |
tree | a03781b23d2f659fe02113a1116d2f97711a01c5 /audio/opmixer | |
parent | bump PORTREVISION; new file added. (diff) |
Patch ossmixer.hh to #include <machine/soundcard.h> on old systems.
Notes
Notes:
svn path=/head/; revision=36539
Diffstat (limited to 'audio/opmixer')
-rw-r--r-- | audio/opmixer/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/audio/opmixer/Makefile b/audio/opmixer/Makefile index 9bd213adb619..0c26a207317e 100644 --- a/audio/opmixer/Makefile +++ b/audio/opmixer/Makefile @@ -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 |