summaryrefslogtreecommitdiff
path: root/graphics/cairomm/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/cairomm/buildlink3.mk')
-rw-r--r--graphics/cairomm/buildlink3.mk19
1 files changed, 6 insertions, 13 deletions
diff --git a/graphics/cairomm/buildlink3.mk b/graphics/cairomm/buildlink3.mk
index 97919cbb172..f6367959c8f 100644
--- a/graphics/cairomm/buildlink3.mk
+++ b/graphics/cairomm/buildlink3.mk
@@ -1,21 +1,14 @@
-# $NetBSD: buildlink3.mk,v 1.1.1.1 2006/09/06 19:56:40 adam Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2009/03/20 19:24:37 joerg Exp $
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
-CAIROMM_BUILDLINK3_MK:= ${CAIROMM_BUILDLINK3_MK}+
+BUILDLINK_TREE+= cairomm
-.if ${BUILDLINK_DEPTH} == "+"
-BUILDLINK_DEPENDS+= cairomm
-.endif
+.if !defined(CAIROMM_BUILDLINK3_MK)
+CAIROMM_BUILDLINK3_MK:=
-BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ncairomm}
-BUILDLINK_PACKAGES+= cairomm
-BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}cairomm
-
-.if ${CAIROMM_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.cairomm+= cairomm>=1.2.2
BUILDLINK_PKGSRCDIR.cairomm?= ../../graphics/cairomm
-.endif # CAIROMM_BUILDLINK3_MK
.include "../../graphics/cairo/buildlink3.mk"
+.endif # CAIROMM_BUILDLINK3_MK
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
+BUILDLINK_TREE+= -cairomm