summaryrefslogtreecommitdiff
path: root/mk/ossaudio.buildlink.mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-08-23 13:31:00 +0000
committerjlam <jlam@pkgsrc.org>2001-08-23 13:31:00 +0000
commit33f148d48b5f6d81205c5d9117b114843454233d (patch)
tree10c7f54e2ff2abb9ed5c491ed26e06750662e68a /mk/ossaudio.buildlink.mk
parent46a8516c88d9ace640e669506b51cd6d5eeb4abd (diff)
downloadpkgsrc-33f148d48b5f6d81205c5d9117b114843454233d.tar.gz
Add a LIBOSSAUDIO definition that is passed through MAKE_ENV.
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 40b39c100ab..d5f0d461587 100644
--- a/mk/ossaudio.buildlink.mk
+++ b/mk/ossaudio.buildlink.mk
@@ -1,4 +1,4 @@
-# $NetBSD: ossaudio.buildlink.mk,v 1.3 2001/08/23 13:12:59 jlam Exp $
+# $NetBSD: ossaudio.buildlink.mk,v 1.4 2001/08/23 13:31:00 jlam Exp $
#
# This Makefile fragment is included by packages that use OSS audio.
#
@@ -24,6 +24,9 @@ BUILDLINK_TARGETS.ossaudio= ossaudio-buildlink
BUILDLINK_TARGETS.ossaudio+= ossaudio-buildlink-soundcard-h
BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.ossaudio}
+LIBOSSAUDIO?= -lossaudio
+MAKE_ENV+= LIBOSSAUDIO="${LIBOSSAUDIO}"
+
pre-configure: ${BUILDLINK_TARGETS.ossaudio}
ossaudio-buildlink: _BUILDLINK_USE