summaryrefslogtreecommitdiff
path: root/audio/faac/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'audio/faac/buildlink3.mk')
-rw-r--r--audio/faac/buildlink3.mk19
1 files changed, 6 insertions, 13 deletions
diff --git a/audio/faac/buildlink3.mk b/audio/faac/buildlink3.mk
index 808b0d36a49..7cb5ac290da 100644
--- a/audio/faac/buildlink3.mk
+++ b/audio/faac/buildlink3.mk
@@ -1,20 +1,13 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:35 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2009/03/20 19:23:53 joerg Exp $
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
-FAAC_BUILDLINK3_MK:= ${FAAC_BUILDLINK3_MK}+
+BUILDLINK_TREE+= faac
-.if !empty(BUILDLINK_DEPTH:M+)
-BUILDLINK_DEPENDS+= faac
-.endif
+.if !defined(FAAC_BUILDLINK3_MK)
+FAAC_BUILDLINK3_MK:=
-BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nfaac}
-BUILDLINK_PACKAGES+= faac
-BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}faac
-
-.if !empty(FAAC_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.faac+= faac>=1.24
BUILDLINK_ABI_DEPENDS.faac+= faac>=1.24nb1
BUILDLINK_PKGSRCDIR.faac?= ../../audio/faac
-.endif # FAAC_BUILDLINK3_MK
+.endif # FAAC_BUILDLINK3_MK
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
+BUILDLINK_TREE+= -faac