summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorhans <hans>2012-02-29 20:33:09 +0000
committerhans <hans>2012-02-29 20:33:09 +0000
commit3f011c518b69d02fbc1e5221662d36556c94e334 (patch)
treee7ad41e178f3b3c1893e0c973eb61be603f81dad /audio
parent028ac0011f85b3707357681484f4f4eab1b1e6fe (diff)
downloadpkgsrc-3f011c518b69d02fbc1e5221662d36556c94e334.tar.gz
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.
Diffstat (limited to 'audio')
-rw-r--r--audio/alsa-plugins-oss/Makefile5
1 files changed, 4 insertions, 1 deletions
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}