summaryrefslogtreecommitdiff
path: root/graphics/imlib2/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/imlib2/buildlink3.mk')
-rw-r--r--graphics/imlib2/buildlink3.mk19
1 files changed, 6 insertions, 13 deletions
diff --git a/graphics/imlib2/buildlink3.mk b/graphics/imlib2/buildlink3.mk
index 2ed59418c95..a10b05eb409 100644
--- a/graphics/imlib2/buildlink3.mk
+++ b/graphics/imlib2/buildlink3.mk
@@ -1,21 +1,13 @@
-# $NetBSD: buildlink3.mk,v 1.18 2007/11/17 01:40:50 obache Exp $
+# $NetBSD: buildlink3.mk,v 1.19 2009/03/20 19:24:41 joerg Exp $
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
-IMLIB2_BUILDLINK3_MK:= ${IMLIB2_BUILDLINK3_MK}+
+BUILDLINK_TREE+= imlib2
-.if !empty(BUILDLINK_DEPTH:M+)
-BUILDLINK_DEPENDS+= imlib2
-.endif
-
-BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nimlib2}
-BUILDLINK_PACKAGES+= imlib2
-BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}imlib2
+.if !defined(IMLIB2_BUILDLINK3_MK)
+IMLIB2_BUILDLINK3_MK:=
-.if !empty(IMLIB2_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.imlib2+= imlib2>=1.1.0nb2
BUILDLINK_ABI_DEPENDS.imlib2+= imlib2>=1.2.0nb5
BUILDLINK_PKGSRCDIR.imlib2?= ../../graphics/imlib2
-.endif # IMLIB2_BUILDLINK3_MK
.include "../../devel/libltdl/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
@@ -39,5 +31,6 @@ pkgbase := imlib2
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.endif
+.endif # IMLIB2_BUILDLINK3_MK
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
+BUILDLINK_TREE+= -imlib2