summaryrefslogtreecommitdiff
path: root/devel/cdk/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'devel/cdk/buildlink3.mk')
-rw-r--r--devel/cdk/buildlink3.mk19
1 files changed, 6 insertions, 13 deletions
diff --git a/devel/cdk/buildlink3.mk b/devel/cdk/buildlink3.mk
index 022c81c2c01..e40650c47b2 100644
--- a/devel/cdk/buildlink3.mk
+++ b/devel/cdk/buildlink3.mk
@@ -1,24 +1,17 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:42 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2009/03/20 19:24:11 joerg Exp $
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
-CDK_BUILDLINK3_MK:= ${CDK_BUILDLINK3_MK}+
+BUILDLINK_TREE+= cdk
-.if !empty(BUILDLINK_DEPTH:M+)
-BUILDLINK_DEPENDS+= cdk
-.endif
+.if !defined(CDK_BUILDLINK3_MK)
+CDK_BUILDLINK3_MK:=
-BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ncdk}
-BUILDLINK_PACKAGES+= cdk
-BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}cdk
-
-.if !empty(CDK_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.cdk+= cdk>=4.9.9nb1
BUILDLINK_ABI_DEPENDS.cdk+= cdk>=4.9.9nb2
BUILDLINK_PKGSRCDIR.cdk?= ../../devel/cdk
-.endif # CDK_BUILDLINK3_MK
USE_NCURSES= yes
.include "../../devel/ncurses/buildlink3.mk"
+.endif # CDK_BUILDLINK3_MK
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
+BUILDLINK_TREE+= -cdk