summaryrefslogtreecommitdiff
path: root/audio/libvorbis
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-01-17 15:46:27 +0000
committerjlam <jlam@pkgsrc.org>2004-01-17 15:46:27 +0000
commitd67c7c83251e687f37cc62c36fa9ee1b6d4e3d3d (patch)
tree12a85ce26471772c077e26d92d3477bcc814db8d /audio/libvorbis
parent539d8bc480e2f2502e9116c4b1c3c5ae78970150 (diff)
downloadpkgsrc-d67c7c83251e687f37cc62c36fa9ee1b6d4e3d3d.tar.gz
Add a buildlink3.mk file for audio/libvorbis.
Diffstat (limited to 'audio/libvorbis')
-rw-r--r--audio/libvorbis/buildlink3.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/audio/libvorbis/buildlink3.mk b/audio/libvorbis/buildlink3.mk
new file mode 100644
index 00000000000..18aeccbb062
--- /dev/null
+++ b/audio/libvorbis/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/01/17 15:46:27 jlam Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBVORBIS_BUILDLINK3_MK:= ${LIBVORBIS_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= libvorbis
+.endif
+
+.if !empty(LIBVORBIS_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= libvorbis
+BUILDLINK_DEPENDS.libvorbis?= libvorbis>=1.0.1
+BUILDLINK_PKGSRCDIR.libvorbis?= ../../audio/libvorbis
+
+. include "../../audio/libogg/buildlink3.mk"
+.endif # LIBVORBIS_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}