summaryrefslogtreecommitdiff
path: root/graphics/camlimages/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/camlimages/buildlink3.mk')
-rw-r--r--graphics/camlimages/buildlink3.mk19
1 files changed, 6 insertions, 13 deletions
diff --git a/graphics/camlimages/buildlink3.mk b/graphics/camlimages/buildlink3.mk
index a0d60c430db..366c7c69d33 100644
--- a/graphics/camlimages/buildlink3.mk
+++ b/graphics/camlimages/buildlink3.mk
@@ -1,20 +1,13 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:50 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2009/03/20 19:24:37 joerg Exp $
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
-CAMLIMAGES_BUILDLINK3_MK:= ${CAMLIMAGES_BUILDLINK3_MK}+
+BUILDLINK_TREE+= camlimages
-.if !empty(BUILDLINK_DEPTH:M+)
-BUILDLINK_DEPENDS+= camlimages
-.endif
+.if !defined(CAMLIMAGES_BUILDLINK3_MK)
+CAMLIMAGES_BUILDLINK3_MK:=
-BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ncamlimages}
-BUILDLINK_PACKAGES+= camlimages
-BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}camlimages
-
-.if !empty(CAMLIMAGES_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.camlimages+= camlimages>=2.2.0
BUILDLINK_ABI_DEPENDS.camlimages?= camlimages>=2.2.0nb1
BUILDLINK_PKGSRCDIR.camlimages?= ../../graphics/camlimages
-.endif # CAMLIMAGES_BUILDLINK3_MK
+.endif # CAMLIMAGES_BUILDLINK3_MK
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
+BUILDLINK_TREE+= -camlimages