From 2b601c467afc89fec247841de176254b98548248 Mon Sep 17 00:00:00 2001 From: Trevor Johnson Date: Sun, 31 Dec 2000 15:43:46 +0000 Subject: Patch ossmixer.hh to #include on old systems. --- audio/opmixer/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'audio/opmixer') 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 -- cgit v1.2.3