summaryrefslogtreecommitdiff
path: root/devel/dmalloc/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'devel/dmalloc/buildlink3.mk')
-rw-r--r--devel/dmalloc/buildlink3.mk19
1 files changed, 19 insertions, 0 deletions
diff --git a/devel/dmalloc/buildlink3.mk b/devel/dmalloc/buildlink3.mk
new file mode 100644
index 00000000000..3891135fe73
--- /dev/null
+++ b/devel/dmalloc/buildlink3.mk
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/27 03:09:58 snj Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+DMALLOC_BUILDLINK3_MK:= ${DMALLOC_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= dmalloc
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ndmalloc}
+BUILDLINK_PACKAGES+= dmalloc
+
+.if !empty(DMALLOC_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.dmalloc+= dmalloc>=4.8.2nb2
+BUILDLINK_PKGSRCDIR.dmalloc?= ../../devel/dmalloc
+BUILDLINK_DEPMETHOD.dmalloc?= build
+.endif # DMALLOC_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}