summaryrefslogtreecommitdiff
path: root/devel/boehm-gc
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-08-25 18:38:05 +0000
committerjlam <jlam@pkgsrc.org>2002-08-25 18:38:05 +0000
commite2afa97f51a1f72e6618533019aaaae07b7d3cf2 (patch)
treed2b31bb9a6a069ebfb63079b9dddde1e6688bc4b /devel/boehm-gc
parente97ad43756dc8382d2c6cb8a7ae09be0eb540f67 (diff)
downloadpkgsrc-e2afa97f51a1f72e6618533019aaaae07b7d3cf2.tar.gz
Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk. This provides sufficient buildlink2 infrastructure to start merging other packages from the buildlink2 branch that have already been converted to use the buildlink2 framework.
Diffstat (limited to 'devel/boehm-gc')
-rw-r--r--devel/boehm-gc/Makefile4
-rw-r--r--devel/boehm-gc/buildlink2.mk22
-rw-r--r--devel/boehm-gc/distinfo2
-rw-r--r--devel/boehm-gc/patches/patch-ab2
4 files changed, 26 insertions, 4 deletions
diff --git a/devel/boehm-gc/Makefile b/devel/boehm-gc/Makefile
index 010f89d0f9c..61e47acb548 100644
--- a/devel/boehm-gc/Makefile
+++ b/devel/boehm-gc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2001/11/19 20:11:00 jlam Exp $
+# $NetBSD: Makefile,v 1.22 2002/08/25 18:38:25 jlam Exp $
# FreeBSD Id: Makefile,v 1.1 1996/11/16 01:51:25 jdp Exp
#
@@ -11,7 +11,7 @@ MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.hpl.hp.com/personal/Hans_Boehm/gc/
COMMENT= Garbage collection and memory leak detection for C and C++
-USE_BUILDLINK_ONLY= YES
+USE_BUILDLINK2= YES
USE_GMAKE= YES
MAKE_ENV+= COPTS="${CFLAGS}"
diff --git a/devel/boehm-gc/buildlink2.mk b/devel/boehm-gc/buildlink2.mk
new file mode 100644
index 00000000000..7f13759bae2
--- /dev/null
+++ b/devel/boehm-gc/buildlink2.mk
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 18:38:26 jlam Exp $
+
+.if !defined(BOEHM_GC_BUILDLINK2_MK)
+BOEHM_GC_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= boehm-gc
+BUILDLINK_DEPENDS.boehm-gc?= boehm-gc>=5.3
+BUILDLINK_PKGSRCDIR.boehm-gc?= ../../devel/boehm-gc
+BUILDLINK_DEPMETHOD.boehm-gc?= build
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.boehm-gc=boehm-gc
+BUILDLINK_PREFIX.boehm-gc_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.boehm-gc= include/gc.h
+BUILDLINK_FILES.boehm-gc+= include/gc_cpp.h
+BUILDLINK_FILES.boehm-gc+= lib/libgc.a
+BUILDLINK_FILES.boehm-gc+= lib/libleak.a
+
+BUILDLINK_TARGETS+= boehm-gc-buildlink
+
+boehm-gc-buildlink: _BUILDLINK_USE
+
+.endif # BOEHM_GC_BUILDLINK2_MK
diff --git a/devel/boehm-gc/distinfo b/devel/boehm-gc/distinfo
index 5991cbc67b2..2139e237b83 100644
--- a/devel/boehm-gc/distinfo
+++ b/devel/boehm-gc/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2002/07/31 14:28:32 wiz Exp $
+$NetBSD: distinfo,v 1.7 2002/08/25 18:38:26 jlam Exp $
SHA1 (gc6.0.tar.gz) = 9698826b33472b314d7b2eb640c1669ce05f5277
Size (gc6.0.tar.gz) = 562188 bytes
diff --git a/devel/boehm-gc/patches/patch-ab b/devel/boehm-gc/patches/patch-ab
index 201838d35d8..8b6dcb2b0a4 100644
--- a/devel/boehm-gc/patches/patch-ab
+++ b/devel/boehm-gc/patches/patch-ab
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.7 2002/07/31 14:28:32 wiz Exp $
+$NetBSD: patch-ab,v 1.8 2002/08/25 18:38:27 jlam Exp $
--- dyn_load.c.orig Tue Jun 26 04:37:38 2001
+++ dyn_load.c Wed Jul 31 15:57:28 2002