ace32cb723
This should have been done a while ago. Fixing this is beyond me, and until this works, w3m and gcj are pointless as well (opencm will be free of boehm-gc soon enough).
46 lines
1.2 KiB
Makefile
46 lines
1.2 KiB
Makefile
# $OpenBSD: Makefile,v 1.24 2003/06/12 20:33:12 todd 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++"
|
|
|
|
BROKEN= "even regress fails with 'Memory fault' immediately."
|
|
|
|
VERSION= 6.1
|
|
DISTNAME= gc${VERSION}
|
|
PKGNAME= boehm-gc-${VERSION}p1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${HOMEPAGE}gc_source/
|
|
|
|
HOMEPAGE= http://www.hpl.hp.com/personal/Hans_Boehm/gc/
|
|
|
|
MAINTAINER= Todd T. Fries <todd@openbsd.org>
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MAKE_ENV= CP="cp" \
|
|
INSTALL_DATA="${INSTALL_DATA}" \
|
|
INSTALL_MAN="${INSTALL_MAN}"
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
|
|
|
|
WRKDIST= ${WRKDIR}/gc6.1
|
|
|
|
post-patch:
|
|
@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
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/doc/gc.man ${PREFIX}/man/man3/gc.3
|
|
${INSTALL_DATA_DIR} ${PREFIX}/include/private
|
|
${INSTALL_DATA} ${WRKSRC}/include/gc{,_{cpp,backptr,gcj,mark}}.h ${PREFIX}/include
|
|
${INSTALL_DATA} ${WRKSRC}/include/private/gc{config,_{hdrs,locks,priv,pmark}}.h ${PREFIX}/include/private
|
|
|
|
REGRESS_TARGET= check-TESTS
|
|
|
|
.include <bsd.port.mk>
|