summaryrefslogtreecommitdiff
path: root/devel/boehm-gc/pkg
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1997-10-06 14:06:09 +0000
committeragc <agc@pkgsrc.org>1997-10-06 14:06:09 +0000
commit450dc622273a8dfc018d72bfd6fecbe0da867dde (patch)
tree009d4f1ed2d2c47a0184f69576ac9d1aa8ebcd7c /devel/boehm-gc/pkg
parent690fb0bd9c02e07f8ba7ae7c3d6208322cda5f42 (diff)
downloadpkgsrc-450dc622273a8dfc018d72bfd6fecbe0da867dde.tar.gz
Initial import of FreeBSD devel ports into NetBSD
packages system.
Diffstat (limited to 'devel/boehm-gc/pkg')
-rw-r--r--devel/boehm-gc/pkg/COMMENT1
-rw-r--r--devel/boehm-gc/pkg/DESCR23
-rw-r--r--devel/boehm-gc/pkg/PLIST5
3 files changed, 29 insertions, 0 deletions
diff --git a/devel/boehm-gc/pkg/COMMENT b/devel/boehm-gc/pkg/COMMENT
new file mode 100644
index 00000000000..7554875aabb
--- /dev/null
+++ b/devel/boehm-gc/pkg/COMMENT
@@ -0,0 +1 @@
+Garbage collection and memory leak detection for C and C++.
diff --git a/devel/boehm-gc/pkg/DESCR b/devel/boehm-gc/pkg/DESCR
new file mode 100644
index 00000000000..97708039560
--- /dev/null
+++ b/devel/boehm-gc/pkg/DESCR
@@ -0,0 +1,23 @@
+The Boehm-Weiser garbage collection package, for C and C++ -
+garbage collection and memory leak detection libraries.
+
+A garbage collector is something which automatically frees malloc'd
+memory for you by working out what parts of memory your program
+no longer has pointers to. As a result, garbage collectors can also
+inform you of memory leaks (if they find memory they can free, it means
+you have lost all of your pointers to it, but you didn't free it).
+
+This package has two libraries and some include files:
+libgc.a - a garbage collection library, replaces malloc/free/new/delete/etc
+ with versions that do automatic garbage collection
+libleak.a - a leak detection library, which is just libgc.a compiled with
+ different switches.
+
+C programs may be linked against either of these, and should run (with
+GC or leak detection) without change. C++ programs must include a header
+to use garbage collection, though leak detection should work without
+such source code modifications. See the man page and header files.
+
+-- Mike McGaughey <mmcg@cs.monash.edu.au>
+
+ps: garbage collection is addictive.
diff --git a/devel/boehm-gc/pkg/PLIST b/devel/boehm-gc/pkg/PLIST
new file mode 100644
index 00000000000..66f4f0e26a6
--- /dev/null
+++ b/devel/boehm-gc/pkg/PLIST
@@ -0,0 +1,5 @@
+include/gc.h
+include/gc_cpp.h
+lib/libgc.a
+lib/libleak.a
+man/man3/gc.3.gz