summaryrefslogtreecommitdiff
path: root/audio/alsa-plugins-oss
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2012-02-29 20:33:09 +0000
committerhans <hans@pkgsrc.org>2012-02-29 20:33:09 +0000
commit9e2fc3183073eb412e7ce5ddf7bbd81f867ff9ce (patch)
treee7ad41e178f3b3c1893e0c973eb61be603f81dad /audio/alsa-plugins-oss
parent8a5343e58ec6d9c0c9fd85ca5e77250122dcced2 (diff)
downloadpkgsrc-9e2fc3183073eb412e7ce5ddf7bbd81f867ff9ce.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/alsa-plugins-oss')
-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}