summaryrefslogtreecommitdiff
path: root/devel/libdatrie/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libdatrie/buildlink3.mk')
-rw-r--r--devel/libdatrie/buildlink3.mk19
1 files changed, 6 insertions, 13 deletions
diff --git a/devel/libdatrie/buildlink3.mk b/devel/libdatrie/buildlink3.mk
index 9f848002bb0..3b158b64154 100644
--- a/devel/libdatrie/buildlink3.mk
+++ b/devel/libdatrie/buildlink3.mk
@@ -1,19 +1,12 @@
-# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/02/11 02:11:24 obache Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2009/03/20 19:24:17 joerg Exp $
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
-LIBDATRIE_BUILDLINK3_MK:= ${LIBDATRIE_BUILDLINK3_MK}+
+BUILDLINK_TREE+= libdatrie
-.if ${BUILDLINK_DEPTH} == "+"
-BUILDLINK_DEPENDS+= libdatrie
-.endif
+.if !defined(LIBDATRIE_BUILDLINK3_MK)
+LIBDATRIE_BUILDLINK3_MK:=
-BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibdatrie}
-BUILDLINK_PACKAGES+= libdatrie
-BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libdatrie
-
-.if ${LIBDATRIE_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.libdatrie+= libdatrie>=0.1.3
BUILDLINK_PKGSRCDIR.libdatrie?= ../../devel/libdatrie
-.endif # LIBDATRIE_BUILDLINK3_MK
+.endif # LIBDATRIE_BUILDLINK3_MK
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
+BUILDLINK_TREE+= -libdatrie