From 9e2fc3183073eb412e7ce5ddf7bbd81f867ff9ce Mon Sep 17 00:00:00 2001 From: hans Date: Wed, 29 Feb 2012 20:33:09 +0000 Subject: Redefine a few OSS mixer names to their (numeric) counterparts on SunOS. This is wrong for SOUND_MIXER_MONITOR, but I don't really care. --- audio/alsa-plugins-oss/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'audio/alsa-plugins-oss') diff --git a/audio/alsa-plugins-oss/Makefile b/audio/alsa-plugins-oss/Makefile index 98c2a103857..a3e37fb4894 100644 --- a/audio/alsa-plugins-oss/Makefile +++ b/audio/alsa-plugins-oss/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2010/02/16 18:26:24 wiz Exp $ +# $NetBSD: Makefile,v 1.6 2012/02/29 20:33:09 hans Exp $ # DISTNAME= alsa-plugins-1.0.22 @@ -19,6 +19,9 @@ USE_LIBTOOL= yes .include "../../mk/bsd.prefs.mk" +CFLAGS.SunOS+= -DSOUND_MIXER_PHONEIN=SOUND_MIXER_PHONE +CFLAGS.SunOS+= -DSOUND_MIXER_PHONEOUT=SOUND_MIXER_MONO +CFLAGS.SunOS+= -DSOUND_MIXER_MONITOR=SOUND_MIXER_DEPTH CFLAGS+= -DDEVOSSAUDIO=\"${DEVOSSAUDIO:U/dev/dsp}\" LIBS+= ${LIBOSSAUDIO} -- cgit v1.2.3