diff options
author | hans <hans> | 2012-02-29 20:33:09 +0000 |
---|---|---|
committer | hans <hans> | 2012-02-29 20:33:09 +0000 |
commit | 23ca27badeb8db8c6b225f321540da0aaaede3f2 (patch) | |
tree | e7ad41e178f3b3c1893e0c973eb61be603f81dad /audio/alsa-plugins-oss | |
parent | 7a2f97ce5a695e390a33cf8fc8cbb7c293d0cf59 (diff) | |
download | pkgsrc-23ca27badeb8db8c6b225f321540da0aaaede3f2.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/Makefile | 5 |
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} |