2006-10-28 07:19:20 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.33 2006/10/28 11:19:20 espie Exp $
|
1999-04-19 17:34:05 -04:00
|
|
|
# $FreeBSD: Makefile,v 1.4 1999/01/10 20:12:06 steve Exp $
|
|
|
|
|
2001-05-05 20:12:42 -04:00
|
|
|
COMMENT= "garbage collection and memory leak detection for C and C++"
|
|
|
|
|
2003-10-15 08:58:11 -04:00
|
|
|
VERSION= 6.2
|
2002-08-27 11:41:30 -04:00
|
|
|
DISTNAME= gc${VERSION}
|
2006-01-06 09:42:59 -05:00
|
|
|
PKGNAME= boehm-gc-${VERSION}p1
|
2006-10-28 07:19:20 -04:00
|
|
|
SHARED_LIBS += gc 1.2 # .1.2
|
2006-01-06 09:42:59 -05:00
|
|
|
|
1999-04-19 17:34:05 -04:00
|
|
|
CATEGORIES= devel
|
2002-08-27 11:41:30 -04:00
|
|
|
MASTER_SITES= ${HOMEPAGE}gc_source/
|
1999-10-06 15:00:29 -04:00
|
|
|
|
2002-08-27 11:41:30 -04:00
|
|
|
HOMEPAGE= http://www.hpl.hp.com/personal/Hans_Boehm/gc/
|
1999-04-19 17:34:05 -04:00
|
|
|
|
2002-09-12 10:18:56 -04:00
|
|
|
MAINTAINER= Todd T. Fries <todd@openbsd.org>
|
1999-04-19 17:34:05 -04:00
|
|
|
|
2003-10-16 09:56:28 -04:00
|
|
|
|
2003-10-16 10:09:51 -04:00
|
|
|
NOT_FOR_ARCHS= hppa powerpc vax
|
2003-10-16 09:56:28 -04:00
|
|
|
|
2000-02-16 05:52:08 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2000-02-12 01:29:49 -05:00
|
|
|
|
2000-02-16 05:52:08 -05:00
|
|
|
MAKE_ENV= CP="cp" \
|
1999-10-06 15:00:29 -04:00
|
|
|
INSTALL_DATA="${INSTALL_DATA}" \
|
|
|
|
INSTALL_MAN="${INSTALL_MAN}"
|
1999-04-19 17:34:05 -04:00
|
|
|
|
2006-01-06 09:42:59 -05:00
|
|
|
USE_LIBTOOL= Yes
|
2004-03-04 12:49:26 -05:00
|
|
|
CONFIGURE_STYLE=autoconf no-autoheader
|
2003-10-15 13:11:35 -04:00
|
|
|
AUTOCONF_VERSION=2.54
|
2003-10-15 08:58:11 -04:00
|
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} --enable-full-debug
|
|
|
|
|
|
|
|
# XXX the below causes failures still
|
|
|
|
# --enable-redirect-malloc
|
2002-02-28 22:49:08 -05:00
|
|
|
|
2003-10-15 08:58:11 -04:00
|
|
|
WRKDIST= ${WRKDIR}/gc${VERSION}
|
1999-10-06 15:00:29 -04:00
|
|
|
|
2006-02-07 23:54:48 -05:00
|
|
|
pre-configure:
|
2002-08-27 11:41:30 -04:00
|
|
|
@mv ${WRKSRC}/doc/gc.man ${WRKSRC}/doc/gc.man.in
|
|
|
|
@sed -e "s,@PREFIX@,${PREFIX},g" ${WRKSRC}/doc/gc.man.in > \
|
|
|
|
${WRKSRC}/doc/gc.man
|
|
|
|
|
2005-09-05 07:41:56 -04:00
|
|
|
aliases= malloc malloc_atomic free realloc enable_incremental \
|
|
|
|
register_finalizer malloc_ignore_off_page \
|
|
|
|
malloc_atomic_ignore_off_page set_warn_proc
|
2002-08-27 11:41:30 -04:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/gc.man ${PREFIX}/man/man3/gc.3
|
2005-09-05 07:41:56 -04:00
|
|
|
.for i in ${aliases}
|
|
|
|
ln -s gc.3 ${PREFIX}/man/man3/GC_$i.3
|
|
|
|
.endfor
|
2002-09-16 18:00:13 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/include/private
|
2003-10-15 08:58:11 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/include/gc{,_{cpp,backptr,gcj,mark,typed}}.h ${PREFIX}/include
|
2002-09-16 18:00:13 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/include/private/gc{config,_{hdrs,locks,priv,pmark}}.h ${PREFIX}/include/private
|
2002-08-27 11:41:30 -04:00
|
|
|
|
|
|
|
REGRESS_TARGET= check-TESTS
|
1999-04-19 17:34:05 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|