pkgsrc/devel/boehm-gc/Makefile
wiz a39908ba00 Update to 6.6:
Since 6.5
 - Fix CPU count detection for Irix and FreeBSD. (Thanks to Dan Bonachea.)
 - Integrate Dan Bonachea's patch for the IBM XLC compiler on Darwin.
 - Integrated Andreas Tobler's FreeBSD/PowerPC patch.
 - Don't access the GC thread structure from the restart handler.  It's
   unsafe, since the handler may run too late.  (Thanks to Ben Maurer for
   tracking this down.)
 - Applied Christian Thalinger's patch to change comment syntax in
   alpha_mach_dep.S.
 - Added test for GC_no_dls in GC_dyld_image_add for DARWIN. (Thanks to
   Juan Jose Garcia Ripoli).
 - Use LINUX_STACKBOTTOM for Linux/SH and LINUX/ARM. (Thanks to Sugioka
   Toshinobu and Christian Thalinger.)
 - Rewrote GC_parse_map_entry.  This assumed a fixed column layout of
   /proc/self/maps on Linux.  This ceased to be true about 2 years ago.
   The old code is probably quite problemetic with -DREDIRECT_MALLOC.  It
   is also used by default for IA64, though I haven't seen actual failures
   there.
 - More consistently define HBLKSIZE to 4096 on 64 bit architectures with
   4K pages.  (Thanks to Andrew Haley.)
 - With win32 threads, GC_stop_world needs to acquire GC_write_cs.  (Thanks
   to Ben Hutchings for the observation and patch.)
 - Move up struct callinfo declaration to make gcc 4.0.2. happy.
2005-10-04 16:44:13 +00:00

54 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.50 2005/10/04 16:44:13 wiz Exp $
DISTNAME= gc6.6
PKGNAME= ${DISTNAME:S/gc/boehm-gc-/}
CATEGORIES= devel
MASTER_SITES= http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/
MAINTAINER= recht@NetBSD.org
HOMEPAGE= http://www.hpl.hp.com/personal/Hans_Boehm/gc/
COMMENT= Garbage collection and memory leak detection for C and C++
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_TOOLS+= gmake
USE_LANGUAGES= c c++
USE_LIBTOOL= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --enable-cplusplus
INSTALLATION_DIRS= man/man3
MAKE_ENV+= COPTS=${CFLAGS:Q}
#TEST_TARGET= check
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} != "Darwin"
CONFIGURE_ARGS+= --disable-threads
.endif
.if !empty(EXTRACT_USING:Mpax)
EXTRACT_ELEMENTS= -u
.endif
.if ${MACHINE_ARCH} == "mipsel"
CFLAGS+= -D__MIPSEL__
.endif
post-extract:
${MV} ${WRKSRC}/doc/gc.man ${WRKSRC}/doc/gc.man.in
pre-build:
${SED} -e "s|@PREFIX@|${PREFIX}|g" \
${WRKSRC}/doc/gc.man.in > ${WRKSRC}/doc/gc.man
post-install:
${INSTALL_MAN} ${WRKSRC}/doc/gc.man ${PREFIX}/man/man3/gc.3
do-test:
@cd ${WRKSRC}; \
${RM} -f gctest && ${MAKE_PROGRAM} gctest && ./gctest && \
${RM} -f test_cpp && ${MAKE_PROGRAM} test_cpp && ./test_cpp 10
.include "../../mk/bsd.pkg.mk"