decent manpage behavior
This commit is contained in:
parent
5c7ad3ddfb
commit
d5da6782f6
@ -1,11 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.29 2004/03/04 17:49:26 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.30 2005/09/05 11:41:56 espie Exp $
|
||||
# $FreeBSD: Makefile,v 1.4 1999/01/10 20:12:06 steve Exp $
|
||||
|
||||
COMMENT= "garbage collection and memory leak detection for C and C++"
|
||||
|
||||
VERSION= 6.2
|
||||
DISTNAME= gc${VERSION}
|
||||
PKGNAME= boehm-gc-${VERSION}
|
||||
PKGNAME= boehm-gc-${VERSION}p0
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= ${HOMEPAGE}gc_source/
|
||||
|
||||
@ -39,8 +39,14 @@ post-patch:
|
||||
@sed -e "s,@PREFIX@,${PREFIX},g" ${WRKSRC}/doc/gc.man.in > \
|
||||
${WRKSRC}/doc/gc.man
|
||||
|
||||
aliases= malloc malloc_atomic free realloc enable_incremental \
|
||||
register_finalizer malloc_ignore_off_page \
|
||||
malloc_atomic_ignore_off_page set_warn_proc
|
||||
post-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/gc.man ${PREFIX}/man/man3/gc.3
|
||||
.for i in ${aliases}
|
||||
ln -s gc.3 ${PREFIX}/man/man3/GC_$i.3
|
||||
.endfor
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/include/private
|
||||
${INSTALL_DATA} ${WRKSRC}/include/gc{,_{cpp,backptr,gcj,mark,typed}}.h ${PREFIX}/include
|
||||
${INSTALL_DATA} ${WRKSRC}/include/private/gc{config,_{hdrs,locks,priv,pmark}}.h ${PREFIX}/include/private
|
||||
|
@ -1,20 +1,27 @@
|
||||
$OpenBSD: patch-doc_gc_man,v 1.2 2002/10/26 13:25:26 todd Exp $
|
||||
--- doc/gc.man.orig Tue Sep 21 18:55:00 1999
|
||||
+++ doc/gc.man Fri Oct 25 11:53:09 2002
|
||||
@@ -68,6 +68,48 @@ This may temporarily write protect pages
|
||||
$OpenBSD: patch-doc_gc_man,v 1.3 2005/09/05 11:41:56 espie Exp $
|
||||
--- doc/gc.man.orig Wed Sep 22 01:55:00 1999
|
||||
+++ doc/gc.man Mon Sep 5 13:31:16 2005
|
||||
@@ -1,4 +1,4 @@
|
||||
-.TH GC_MALLOC 1L "12 February 1996"
|
||||
+.TH GC_MALLOC 3 "12 February 1996"
|
||||
.SH NAME
|
||||
GC_malloc, GC_malloc_atomic, GC_free, GC_realloc, GC_enable_incremental, GC_register_finalizer, GC_malloc_ignore_off_page, GC_malloc_atomic_ignore_off_page, GC_set_warn_proc \- Garbage collecting malloc replacement
|
||||
.SH SYNOPSIS
|
||||
@@ -67,6 +67,48 @@ GC_enable_incremental.
|
||||
This may temporarily write protect pages in the heap. See the README file for more information on how this interacts with system calls that write to the heap.
|
||||
.LP
|
||||
Other facilities not discussed here include limited facilities to support incremental collection on machines without appropriate VM support, provisions for providing more explicit object layout information to the garbage collector, more direct support for ``weak'' pointers, support for ``abortable'' garbage collections during idle time, etc.
|
||||
.LP
|
||||
+.LP
|
||||
+.SH "PORT INFORMATION"
|
||||
+.LP
|
||||
+In this (OpenBSD package) installation,
|
||||
+.I gc.h
|
||||
+and
|
||||
+.I gc_cpp.h
|
||||
+will probably be found in
|
||||
+.I /usr/local/include,
|
||||
+will be found in
|
||||
+.I @PREFIX@/include ,
|
||||
+and the libraries in
|
||||
+.I /usr/local/lib.
|
||||
+.I @PREFIX@/lib.
|
||||
+.LP
|
||||
+These libraries have been compiled as drop-in replacements
|
||||
+for malloc and free (which is to say, all malloc
|
||||
@ -46,7 +53,6 @@ $OpenBSD: patch-doc_gc_man,v 1.2 2002/10/26 13:25:26 todd Exp $
|
||||
+extension of
|
||||
+.I g++.
|
||||
+This may or may not make a difference.
|
||||
+.LP
|
||||
.LP
|
||||
.SH "SEE ALSO"
|
||||
The README and gc.h files in the distribution. More detailed definitions of the functions exported by the collector are given there. (The above list is not complete.)
|
||||
.LP
|
||||
|
@ -1,4 +1,5 @@
|
||||
@comment $OpenBSD: PLIST,v 1.9 2004/08/10 00:52:44 espie Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.10 2005/09/05 11:41:56 espie Exp $
|
||||
%%SHARED%%
|
||||
include/gc/
|
||||
include/gc.h
|
||||
include/gc/gc.h
|
||||
@ -35,6 +36,15 @@ include/private/gc_priv.h
|
||||
include/private/gcconfig.h
|
||||
lib/libgc.a
|
||||
lib/libgc.la
|
||||
@man man/man3/GC_enable_incremental.3
|
||||
@man man/man3/GC_free.3
|
||||
@man man/man3/GC_malloc.3
|
||||
@man man/man3/GC_malloc_atomic.3
|
||||
@man man/man3/GC_malloc_atomic_ignore_off_page.3
|
||||
@man man/man3/GC_malloc_ignore_off_page.3
|
||||
@man man/man3/GC_realloc.3
|
||||
@man man/man3/GC_register_finalizer.3
|
||||
@man man/man3/GC_set_warn_proc.3
|
||||
@man man/man3/gc.3
|
||||
share/gc/
|
||||
share/gc/README
|
||||
@ -62,10 +72,9 @@ share/gc/README.uts
|
||||
share/gc/README.win32
|
||||
share/gc/barrett_diagram
|
||||
share/gc/debugging.html
|
||||
share/gc/gc.man
|
||||
@comment share/gc/gc.man
|
||||
share/gc/gcdescr.html
|
||||
share/gc/gcinterface.html
|
||||
share/gc/leak.html
|
||||
share/gc/scale.html
|
||||
share/gc/tree.html
|
||||
%%SHARED%%
|
||||
|
Loading…
Reference in New Issue
Block a user