summaryrefslogtreecommitdiff
path: root/print/kpathsea/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'print/kpathsea/buildlink3.mk')
-rw-r--r--print/kpathsea/buildlink3.mk19
1 files changed, 6 insertions, 13 deletions
diff --git a/print/kpathsea/buildlink3.mk b/print/kpathsea/buildlink3.mk
index dd72c5a546c..f7fc4f13cb5 100644
--- a/print/kpathsea/buildlink3.mk
+++ b/print/kpathsea/buildlink3.mk
@@ -1,20 +1,13 @@
-# $NetBSD: buildlink3.mk,v 1.1.1.1 2009/01/03 22:12:42 minskim Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2009/03/20 19:25:14 joerg Exp $
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
-KPATHSEA_BUILDLINK3_MK:= ${KPATHSEA_BUILDLINK3_MK}+
+BUILDLINK_TREE+= kpathsea
-.if ${BUILDLINK_DEPTH} == "+"
-BUILDLINK_DEPENDS+= kpathsea
-.endif
+.if !defined(KPATHSEA_BUILDLINK3_MK)
+KPATHSEA_BUILDLINK3_MK:=
-BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nkpathsea}
-BUILDLINK_PACKAGES+= kpathsea
-BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}kpathsea
-
-.if ${KPATHSEA_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.kpathsea+= kpathsea>=3.5.7
BUILDLINK_PKGSRCDIR.kpathsea?= ../../print/kpathsea
BUILDLINK_FILES.kpathsea+= bin/kpsewhich
-.endif # KPATHSEA_BUILDLINK3_MK
+.endif # KPATHSEA_BUILDLINK3_MK
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
+BUILDLINK_TREE+= -kpathsea