summaryrefslogtreecommitdiff
path: root/mk/ossaudio.buildlink.mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-08-23 13:12:59 +0000
committerjlam <jlam@pkgsrc.org>2001-08-23 13:12:59 +0000
commit46a8516c88d9ace640e669506b51cd6d5eeb4abd (patch)
treec9ebcd16b0d60fc716228207a300f41ece63ba79 /mk/ossaudio.buildlink.mk
parente4fc224719ffbd534203491fd6a913c015230686 (diff)
downloadpkgsrc-46a8516c88d9ace640e669506b51cd6d5eeb4abd.tar.gz
Wrap this file in an .if ${OPSYS} == "NetBSD" so that it may be included
regardless of the operating system.
Diffstat (limited to 'mk/ossaudio.buildlink.mk')
-rw-r--r--mk/ossaudio.buildlink.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/ossaudio.buildlink.mk b/mk/ossaudio.buildlink.mk
index c4931353532..40b39c100ab 100644
--- a/mk/ossaudio.buildlink.mk
+++ b/mk/ossaudio.buildlink.mk
@@ -1,4 +1,4 @@
-# $NetBSD: ossaudio.buildlink.mk,v 1.2 2001/07/24 10:13:38 jlam Exp $
+# $NetBSD: ossaudio.buildlink.mk,v 1.3 2001/08/23 13:12:59 jlam Exp $
#
# This Makefile fragment is included by packages that use OSS audio.
#
@@ -14,7 +14,9 @@
OSSAUDIO_BUILDLINK_MK= # defined
.include "../../mk/bsd.buildlink.mk"
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "NetBSD"
BUILDLINK_PREFIX.ossaudio= /usr
BUILDLINK_FILES.ossaudio= lib/libossaudio.*
@@ -43,5 +45,6 @@ ossaudio-buildlink-soundcard-h:
${ECHO} "#endif"; \
) > $${sys_soundcard_h}; \
fi
+.endif
.endif # OSSAUDIO_BUILDLINK_MK