summaryrefslogtreecommitdiff
path: root/audio/libmad
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2004-02-08 15:59:58 +0000
committertron <tron@pkgsrc.org>2004-02-08 15:59:58 +0000
commitd3a75192359e12ee1d8660c735303f322a4def50 (patch)
tree2bec415288931d4e75bcc7b0d434d6f1b1020850 /audio/libmad
parenteb6e2d8f5c958d994d9ff2a41647b35e1a8bf092 (diff)
downloadpkgsrc-d3a75192359e12ee1d8660c735303f322a4def50.tar.gz
Add missing buildlink3 glue code for this package.
Diffstat (limited to 'audio/libmad')
-rw-r--r--audio/libmad/buildlink3.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/audio/libmad/buildlink3.mk b/audio/libmad/buildlink3.mk
new file mode 100644
index 00000000000..c02f81a9c68
--- /dev/null
+++ b/audio/libmad/buildlink3.mk
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/02/08 15:59:58 tron Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBMAD_BUILDLINK3_MK:= ${LIBMAD_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= libmad>=0.15nb1
+.endif
+
+.if !empty(LIBMAD_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= libmad
+BUILDLINK_DEPENDS.libmad+= libmad>=0.15nb1
+BUILDLINK_PKGSRCDIR.libmad?= ../../audio/libmad
+.endif # LIBMAD_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}