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
commitbcb7c3ae60622ca3eaced1eda8e8259ba4a48edf (patch)
treefdd3af45976345636a5f4b13886c690020ae2971 /audio/oss
parentba020d64bc650b69be1c5856b63d2dd82aeab7bb (diff)
downloadpkgsrc-bcb7c3ae60622ca3eaced1eda8e8259ba4a48edf.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