summaryrefslogtreecommitdiff
path: root/x11/printproto/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'x11/printproto/buildlink3.mk')
-rw-r--r--x11/printproto/buildlink3.mk19
1 files changed, 6 insertions, 13 deletions
diff --git a/x11/printproto/buildlink3.mk b/x11/printproto/buildlink3.mk
index ce43629541b..7da3a290870 100644
--- a/x11/printproto/buildlink3.mk
+++ b/x11/printproto/buildlink3.mk
@@ -1,23 +1,16 @@
-# $NetBSD: buildlink3.mk,v 1.1.1.1 2006/11/03 19:53:21 joerg Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2009/03/20 19:25:48 joerg Exp $
BUILDLINK_DEPMETHOD.printproto?= build
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
-PRINTPROTO_BUILDLINK3_MK:= ${PRINTPROTO_BUILDLINK3_MK}+
+BUILDLINK_TREE+= printproto
-.if ${BUILDLINK_DEPTH} == "+"
-BUILDLINK_DEPENDS+= printproto
-.endif
+.if !defined(PRINTPROTO_BUILDLINK3_MK)
+PRINTPROTO_BUILDLINK3_MK:=
-BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nprintproto}
-BUILDLINK_PACKAGES+= printproto
-BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}printproto
-
-.if ${PRINTPROTO_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.printproto+= printproto>=1.0.3
BUILDLINK_PKGSRCDIR.printproto?= ../../x11/printproto
-.endif # PRINTPROTO_BUILDLINK3_MK
.include "../../x11/xproto/buildlink3.mk"
+.endif # PRINTPROTO_BUILDLINK3_MK
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
+BUILDLINK_TREE+= -printproto