summaryrefslogtreecommitdiff
path: root/devel/dmalloc
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2002-10-21 01:38:37 +0000
committerwiz <wiz@pkgsrc.org>2002-10-21 01:38:37 +0000
commitf0ee5b212476d2ff4439e1becc71de4765fa1d5c (patch)
tree676edc369d9d89f7b3c49c9a29ffcb1f05742d91 /devel/dmalloc
parent50dbe243bec3a974ecc4a5df7ccce35acaee1f47 (diff)
downloadpkgsrc-f0ee5b212476d2ff4439e1becc71de4765fa1d5c.tar.gz
Add buildlink2.mk.
Diffstat (limited to 'devel/dmalloc')
-rw-r--r--devel/dmalloc/buildlink2.mk24
1 files changed, 24 insertions, 0 deletions
diff --git a/devel/dmalloc/buildlink2.mk b/devel/dmalloc/buildlink2.mk
new file mode 100644
index 00000000000..21266916154
--- /dev/null
+++ b/devel/dmalloc/buildlink2.mk
@@ -0,0 +1,24 @@
+# $NetBSD: buildlink2.mk,v 1.1 2002/10/21 01:38:37 wiz Exp $
+#
+
+.if !defined(DMALLOC_BUILDLINK2_MK)
+DMALLOC_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= dmalloc
+BUILDLINK_DEPENDS.dmalloc?= dmalloc>=4.8.2nb2
+BUILDLINK_PKGSRCDIR.dmalloc?= ../../devel/dmalloc
+
+BUILDLINK_DEPMETHOD.dmalloc?= build
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.dmalloc=dmalloc
+BUILDLINK_PREFIX.dmalloc_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.dmalloc+= include/dmalloc.h
+BUILDLINK_FILES.dmalloc+= lib/libdmalloc.*
+BUILDLINK_FILES.dmalloc+= lib/libdmalloclp.*
+BUILDLINK_FILES.dmalloc+= lib/libdmallocxx.*
+
+BUILDLINK_TARGETS+= dmalloc-buildlink
+
+dmalloc-buildlink: _BUILDLINK_USE
+
+.endif # DMALLOC_BUILDLINK2_MK