summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2006-03-10 07:31:32 +0000
committerwiz <wiz@pkgsrc.org>2006-03-10 07:31:32 +0000
commit0bba29e2ac14f4e5655440b49a880d93f1720094 (patch)
treed8bbce3573e9af3a606c791d7aa3213c2fcbc7f3 /mk
parentd4bd74f6e24869069829d2d18051386c6a76d087 (diff)
downloadpkgsrc-0bba29e2ac14f4e5655440b49a880d93f1720094.tar.gz
Include bsd.prefs.mk before testing ${OPSYS}.
Diffstat (limited to 'mk')
-rw-r--r--mk/oss.buildlink3.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/oss.buildlink3.mk b/mk/oss.buildlink3.mk
index 33a4e23b80e..7b268bd21a1 100644
--- a/mk/oss.buildlink3.mk
+++ b/mk/oss.buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: oss.buildlink3.mk,v 1.1 2006/03/09 20:23:13 jlam Exp $
+# $NetBSD: oss.buildlink3.mk,v 1.2 2006/03/10 07:31:32 wiz Exp $
#
# This Makefile fragment is included by packages that require an Open Sound
# System (OSS) implementation.
@@ -11,6 +11,7 @@ BUILDLINK_BUILTIN_MK.oss= ../../mk/oss.builtin.mk
.if !empty(OSS_BUILDLINK3_MK:M+)
LIBOSSAUDIO?= ${BUILDLINK_LDADD.oss}
+.include "bsd.prefs.mk"
. if (${OPSYS} == "Linux") && exists(/dev/dsp)
DEVOSSAUDIO?= /dev/dsp
DEVOSSSOUND?= /dev/dsp