summaryrefslogtreecommitdiff
path: root/graphics/libkexiv2/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/libkexiv2/buildlink3.mk')
-rw-r--r--graphics/libkexiv2/buildlink3.mk19
1 files changed, 6 insertions, 13 deletions
diff --git a/graphics/libkexiv2/buildlink3.mk b/graphics/libkexiv2/buildlink3.mk
index 9b350f2bd92..c68c49c5028 100644
--- a/graphics/libkexiv2/buildlink3.mk
+++ b/graphics/libkexiv2/buildlink3.mk
@@ -1,25 +1,18 @@
-# $NetBSD: buildlink3.mk,v 1.5 2008/01/18 05:06:42 tnn Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2009/03/20 19:24:42 joerg Exp $
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
-LIBKEXIV2_BUILDLINK3_MK:= ${LIBKEXIV2_BUILDLINK3_MK}+
+BUILDLINK_TREE+= libkexiv2
-.if ${BUILDLINK_DEPTH} == "+"
-BUILDLINK_DEPENDS+= libkexiv2
-.endif
+.if !defined(LIBKEXIV2_BUILDLINK3_MK)
+LIBKEXIV2_BUILDLINK3_MK:=
-BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibkexiv2}
-BUILDLINK_PACKAGES+= libkexiv2
-BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libkexiv2
-
-.if ${LIBKEXIV2_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.libkexiv2+= libkexiv2>=0.1.1
BUILDLINK_ABI_DEPENDS.libkexiv2+= libkexiv2>=0.1.6nb2
BUILDLINK_PKGSRCDIR.libkexiv2?= ../../graphics/libkexiv2
-.endif # LIBKEXIV2_BUILDLINK3_MK
.include "../../graphics/exiv2/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../x11/kdelibs3/buildlink3.mk"
+.endif # LIBKEXIV2_BUILDLINK3_MK
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
+BUILDLINK_TREE+= -libkexiv2