summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorsno <sno@pkgsrc.org>2009-03-19 20:12:00 +0000
committersno <sno@pkgsrc.org>2009-03-19 20:12:00 +0000
commit6e4bd3d616c24c3ddc36003de7a55f56a4e01e6d (patch)
treed17671264ef09412f21e5495c3ebb021645c4386 /mk
parent21c1c4e5abcbd2e301e22d5d02f13c84610ecbe3 (diff)
downloadpkgsrc-6e4bd3d616c24c3ddc36003de7a55f56a4e01e6d.tar.gz
Add FreeBSD support
oked by tron@
Diffstat (limited to 'mk')
-rw-r--r--mk/oss.buildlink3.mk10
1 files changed, 9 insertions, 1 deletions
diff --git a/mk/oss.buildlink3.mk b/mk/oss.buildlink3.mk
index bf233a22c40..5499233c9e1 100644
--- a/mk/oss.buildlink3.mk
+++ b/mk/oss.buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: oss.buildlink3.mk,v 1.8 2008/11/11 13:26:42 hasso Exp $
+# $NetBSD: oss.buildlink3.mk,v 1.9 2009/03/19 20:12:00 sno Exp $
#
# This Makefile fragment is included by packages that require an Open Sound
# System (OSS) implementation. After inclusion of this file, the following
@@ -41,6 +41,14 @@ DEVOSSSOUND?= /dev/dsp
. elif ${OPSYS} == "DragonFly"
DEVOSSAUDIO?= /dev/dsp
DEVOSSSOUND?= /dev/dsp
+. elif ${OPSYS} == "FreeBSD"
+. if !empty(OS_VERSION:M4.*) || !empty(OS_VERSION:M5.[12]*)
+DEVOSSAUDIO?= /dev/dsp
+DEVOSSSOUND?= /dev/dsp
+. else
+DEVOSSAUDIO?= /dev/dsp0.0
+DEVOSSSOUND?= /dev/dsp0.0
+. endif
. else
DEVOSSAUDIO?= /dev/audio
DEVOSSSOUND?= /dev/sound