support oss4 compatible boomer on OpenSolaris/Illumos platforms

This commit is contained in:
richard 2014-02-10 12:21:44 +00:00
parent 477f1e7fcf
commit 3c9b2b2b8a

View file

@ -1,4 +1,4 @@
# $NetBSD: oss.buildlink3.mk,v 1.10 2009/03/20 19:25:01 joerg Exp $
# $NetBSD: oss.buildlink3.mk,v 1.11 2014/02/10 12:21:44 richard Exp $
#
# This Makefile fragment is included by packages that require an Open Sound
# System (OSS) implementation. After inclusion of this file, the following
@ -47,6 +47,9 @@ DEVOSSSOUND?= /dev/dsp
DEVOSSAUDIO?= /dev/dsp0.0
DEVOSSSOUND?= /dev/dsp0.0
. endif
. elif !empty(MACHINE_PLATFORM:MSunOS-5.11-*) && exists(/dev/dsp)
DEVOSSAUDIO?= /dev/dsp
DEVOSSSOUND?= /dev/dsp
. else
DEVOSSAUDIO?= /dev/audio
DEVOSSSOUND?= /dev/sound