summaryrefslogtreecommitdiff
path: root/graphics/babl/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/babl/buildlink3.mk')
-rw-r--r--graphics/babl/buildlink3.mk19
1 files changed, 6 insertions, 13 deletions
diff --git a/graphics/babl/buildlink3.mk b/graphics/babl/buildlink3.mk
index b0d416ebe97..5a17e572f72 100644
--- a/graphics/babl/buildlink3.mk
+++ b/graphics/babl/buildlink3.mk
@@ -1,21 +1,14 @@
-# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/08/19 17:51:14 bjs Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2009/03/20 19:24:36 joerg Exp $
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
-BABL_BUILDLINK3_MK:= ${BABL_BUILDLINK3_MK}+
+BUILDLINK_TREE+= babl
-.if ${BUILDLINK_DEPTH} == "+"
-BUILDLINK_DEPENDS+= babl
-.endif
+.if !defined(BABL_BUILDLINK3_MK)
+BABL_BUILDLINK3_MK:=
-BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nbabl}
-BUILDLINK_PACKAGES+= babl
-BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}babl
-
-.if ${BABL_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.babl+= babl>=0.0.22
BUILDLINK_PKGSRCDIR.babl?= ../../graphics/babl
-.endif # BABL_BUILDLINK3_MK
.include "../../mk/dlopen.buildlink3.mk"
+.endif # BABL_BUILDLINK3_MK
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
+BUILDLINK_TREE+= -babl