summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-11-13 19:30:45 +0000
committerjlam <jlam@pkgsrc.org>2002-11-13 19:30:45 +0000
commit94fce3a0d7d9332aa1f1e68c5596998b43d55fe8 (patch)
treefdd3af45976345636a5f4b13886c690020ae2971
parent0df9d9e420eb9c9e8626744f11d05f906d0ff53f (diff)
downloadpkgsrc-94fce3a0d7d9332aa1f1e68c5596998b43d55fe8.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.
-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