summaryrefslogtreecommitdiff
path: root/audio/oss
diff options
context:
space:
mode:
authorjlam <jlam>2002-11-13 19:30:45 +0000
committerjlam <jlam>2002-11-13 19:30:45 +0000
commit00fc8c12576d73d4c7a5c4cb2f02ad46e8dcb11a (patch)
treefdd3af45976345636a5f4b13886c690020ae2971 /audio/oss
parent33a5f16d900a11f35cee625e45161d734c6a7335 (diff)
downloadpkgsrc-00fc8c12576d73d4c7a5c4cb2f02ad46e8dcb11a.tar.gz
If we are using audio/oss, then we don't need the NetBSD OSS compatibility
library (-lossaudio). This makes handling OSS in pkgsrc easier, but we should still be fixing the packages to handle both real OSS and -lossaudio cases and pass them back to the authors.
Diffstat (limited to 'audio/oss')
-rw-r--r--audio/oss/buildlink2.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/audio/oss/buildlink2.mk b/audio/oss/buildlink2.mk
index 24e569cf027..52f80269929 100644
--- a/audio/oss/buildlink2.mk
+++ b/audio/oss/buildlink2.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink2.mk,v 1.5 2002/10/16 15:25:32 jlam Exp $
+# $NetBSD: buildlink2.mk,v 1.6 2002/11/13 19:30:45 jlam Exp $
.if !defined(OSS_BUILDLINK2_MK)
OSS_BUILDLINK2_MK= # defined
@@ -24,6 +24,11 @@ BUILDLINK_FILES.ossaudio+= include/sys/dm.h
BUILDLINK_FILES.ossaudio+= include/sys/soundcard.h
BUILDLINK_FILES.ossaudio+= include/sys/ultrasound.h
+# If we are using audio/oss, then we don't need the NetBSD OSS
+# compatibility library.
+#
+BUILDLINK_TRANSFORM+= r:-lossaudio
+
BUILDLINK_TARGETS+= oss-buildlink
BUILDLINK_TARGETS+= oss-buildlink-soundcard-h