summaryrefslogtreecommitdiff
path: root/textproc/uriparser/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/uriparser/buildlink3.mk')
-rw-r--r--textproc/uriparser/buildlink3.mk19
1 files changed, 6 insertions, 13 deletions
diff --git a/textproc/uriparser/buildlink3.mk b/textproc/uriparser/buildlink3.mk
index 514118a0811..b4373345ee1 100644
--- a/textproc/uriparser/buildlink3.mk
+++ b/textproc/uriparser/buildlink3.mk
@@ -1,19 +1,12 @@
-# $NetBSD: buildlink3.mk,v 1.1.1.1 2007/11/08 18:36:14 bjs Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2009/03/20 19:25:33 joerg Exp $
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
-URIPARSER_BUILDLINK3_MK:= ${URIPARSER_BUILDLINK3_MK}+
+BUILDLINK_TREE+= uriparser
-.if ${BUILDLINK_DEPTH} == "+"
-BUILDLINK_DEPENDS+= uriparser
-.endif
+.if !defined(URIPARSER_BUILDLINK3_MK)
+URIPARSER_BUILDLINK3_MK:=
-BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nuriparser}
-BUILDLINK_PACKAGES+= uriparser
-BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}uriparser
-
-.if ${URIPARSER_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.uriparser+= uriparser>=0.6.0
BUILDLINK_PKGSRCDIR.uriparser?= ../../textproc/uriparser
-.endif # URIPARSER_BUILDLINK3_MK
+.endif # URIPARSER_BUILDLINK3_MK
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
+BUILDLINK_TREE+= -uriparser