summaryrefslogtreecommitdiff
path: root/textproc/wbxml2/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/wbxml2/buildlink3.mk')
-rw-r--r--textproc/wbxml2/buildlink3.mk19
1 files changed, 6 insertions, 13 deletions
diff --git a/textproc/wbxml2/buildlink3.mk b/textproc/wbxml2/buildlink3.mk
index eff6449c9af..95b321ef5e9 100644
--- a/textproc/wbxml2/buildlink3.mk
+++ b/textproc/wbxml2/buildlink3.mk
@@ -1,21 +1,14 @@
-# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/01/12 14:05:17 dillo Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2009/03/20 19:25:33 joerg Exp $
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
-WBXML2_BUILDLINK3_MK:= ${WBXML2_BUILDLINK3_MK}+
+BUILDLINK_TREE+= wbxml2
-.if ${BUILDLINK_DEPTH} == "+"
-BUILDLINK_DEPENDS+= wbxml2
-.endif
+.if !defined(WBXML2_BUILDLINK3_MK)
+WBXML2_BUILDLINK3_MK:=
-BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nwbxml2}
-BUILDLINK_PACKAGES+= wbxml2
-BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}wbxml2
-
-.if ${WBXML2_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.wbxml2+= wbxml2>=0.9.2
BUILDLINK_PKGSRCDIR.wbxml2?= ../../textproc/wbxml2
-.endif # WBXML2_BUILDLINK3_MK
.include "../../textproc/expat/buildlink3.mk"
+.endif # WBXML2_BUILDLINK3_MK
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
+BUILDLINK_TREE+= -wbxml2