pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Add FreeBSD support
details: https://anonhg.NetBSD.org/pkgsrc/rev/32d73234dfd8
branches: trunk
changeset: 556328:32d73234dfd8
user: sno <sno%pkgsrc.org@localhost>
date: Thu Mar 19 20:12:00 2009 +0000
description:
Add FreeBSD support
oked by tron@
diffstat:
mk/oss.buildlink3.mk | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diffs (24 lines):
diff -r 163110dd3bc9 -r 32d73234dfd8 mk/oss.buildlink3.mk
--- a/mk/oss.buildlink3.mk Thu Mar 19 19:54:07 2009 +0000
+++ b/mk/oss.buildlink3.mk Thu Mar 19 20:12:00 2009 +0000
@@ -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 @@
. 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
Home |
Main Index |
Thread Index |
Old Index