summaryrefslogtreecommitdiff
path: root/audio/libhydrogen/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'audio/libhydrogen/buildlink3.mk')
-rw-r--r--audio/libhydrogen/buildlink3.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/audio/libhydrogen/buildlink3.mk b/audio/libhydrogen/buildlink3.mk
new file mode 100644
index 00000000000..d3ff754eedc
--- /dev/null
+++ b/audio/libhydrogen/buildlink3.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/07/06 14:51:17 xtraeme Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBHYDROGEN_BUILDLINK3_MK:= ${LIBHYDROGEN_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= libhydrogen
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibhydrogen}
+BUILDLINK_PACKAGES+= libhydrogen
+
+.if !empty(LIBHYDROGEN_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.libhydrogen+= libhydrogen>=0.8.0
+BUILDLINK_PKGSRCDIR.libhydrogen?= ../../audio/libhydrogen
+.endif # LIBHYDROGEN_BUILDLINK3_MK
+
+.include "../../audio/libaudiofile/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}