summaryrefslogtreecommitdiff
path: root/audio/flac/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'audio/flac/buildlink3.mk')
-rw-r--r--audio/flac/buildlink3.mk19
1 files changed, 6 insertions, 13 deletions
diff --git a/audio/flac/buildlink3.mk b/audio/flac/buildlink3.mk
index 9a54d136e9b..401dfbff0de 100644
--- a/audio/flac/buildlink3.mk
+++ b/audio/flac/buildlink3.mk
@@ -1,22 +1,15 @@
-# $NetBSD: buildlink3.mk,v 1.12 2007/01/07 15:01:52 wiz Exp $
+# $NetBSD: buildlink3.mk,v 1.13 2009/03/20 19:23:53 joerg Exp $
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
-FLAC_BUILDLINK3_MK:= ${FLAC_BUILDLINK3_MK}+
+BUILDLINK_TREE+= flac
-.if !empty(BUILDLINK_DEPTH:M+)
-BUILDLINK_DEPENDS+= flac
-.endif
+.if !defined(FLAC_BUILDLINK3_MK)
+FLAC_BUILDLINK3_MK:=
-BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nflac}
-BUILDLINK_PACKAGES+= flac
-BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}flac
-
-.if !empty(FLAC_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.flac+= flac>=1.1.0nb1
BUILDLINK_ABI_DEPENDS.flac+= flac>=1.1.3nb1
BUILDLINK_PKGSRCDIR.flac?= ../../audio/flac
-.endif # FLAC_BUILDLINK3_MK
.include "../../multimedia/libogg/buildlink3.mk"
+.endif # FLAC_BUILDLINK3_MK
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
+BUILDLINK_TREE+= -flac