summaryrefslogtreecommitdiff
path: root/x11/fontcacheproto/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'x11/fontcacheproto/buildlink3.mk')
-rw-r--r--x11/fontcacheproto/buildlink3.mk19
1 files changed, 6 insertions, 13 deletions
diff --git a/x11/fontcacheproto/buildlink3.mk b/x11/fontcacheproto/buildlink3.mk
index 5aea8836caa..abb438e5221 100644
--- a/x11/fontcacheproto/buildlink3.mk
+++ b/x11/fontcacheproto/buildlink3.mk
@@ -1,21 +1,14 @@
-# $NetBSD: buildlink3.mk,v 1.1.1.1 2006/11/03 19:54:04 joerg Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2009/03/20 19:25:40 joerg Exp $
BUILDLINK_DEPMETHOD.fontcacheproto?= build
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
-FONTCACHEPROTO_BUILDLINK3_MK:= ${FONTCACHEPROTO_BUILDLINK3_MK}+
+BUILDLINK_TREE+= fontcacheproto
-.if ${BUILDLINK_DEPTH} == "+"
-BUILDLINK_DEPENDS+= fontcacheproto
-.endif
+.if !defined(FONTCACHEPROTO_BUILDLINK3_MK)
+FONTCACHEPROTO_BUILDLINK3_MK:=
-BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nfontcacheproto}
-BUILDLINK_PACKAGES+= fontcacheproto
-BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}fontcacheproto
-
-.if ${FONTCACHEPROTO_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.fontcacheproto+= fontcacheproto>=0.1
BUILDLINK_PKGSRCDIR.fontcacheproto?= ../../x11/fontcacheproto
-.endif # FONTCACHEPROTO_BUILDLINK3_MK
+.endif # FONTCACHEPROTO_BUILDLINK3_MK
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
+BUILDLINK_TREE+= -fontcacheproto