summaryrefslogtreecommitdiff
path: root/lang/cdl3/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'lang/cdl3/buildlink3.mk')
-rw-r--r--lang/cdl3/buildlink3.mk19
1 files changed, 6 insertions, 13 deletions
diff --git a/lang/cdl3/buildlink3.mk b/lang/cdl3/buildlink3.mk
index 4f304ac132a..36a6010933b 100644
--- a/lang/cdl3/buildlink3.mk
+++ b/lang/cdl3/buildlink3.mk
@@ -1,20 +1,13 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:54 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2009/03/20 19:24:48 joerg Exp $
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
-CDL3_BUILDLINK3_MK:= ${CDL3_BUILDLINK3_MK}+
+BUILDLINK_TREE+= cdl3
-.if !empty(BUILDLINK_DEPTH:M+)
-BUILDLINK_DEPENDS+= cdl3
-.endif
+.if !defined(CDL3_BUILDLINK3_MK)
+CDL3_BUILDLINK3_MK:=
-BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ncdl3}
-BUILDLINK_PACKAGES+= cdl3
-BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}cdl3
-
-.if !empty(CDL3_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.cdl3+= cdl3>=1.2.5
BUILDLINK_ABI_DEPENDS.cdl3?= cdl3>=1.2.5nb1
BUILDLINK_PKGSRCDIR.cdl3?= ../../lang/cdl3
-.endif # CDL3_BUILDLINK3_MK
+.endif # CDL3_BUILDLINK3_MK
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
+BUILDLINK_TREE+= -cdl3