pkgsrc/devel/boehm-gc/Makefile
wiz b625278562 Update to 6.8.
Changes since 6.7:
 - Added some support for Dragonfly BSD.  (Thanks to Joerg Sonnenberger and
   Thomas Klausner.)
 - Improvements to the HP/UX section of configure.in.
   (Thanks to Andreas Tobler.)
 - GC_unix_get_mem could neglect to release the malloc lock on Irix, under
   extremely unlikely circumstances.  Thanks to Jean-Baptiste Nivois for
   some careful code reading.
 - Added support for kFreeBSD + glibc (Thanks to Petr Salinger)
 - Fix more MacOS threads memory leaks (Thanks to Allan Hsu)
 - Added initial Solaris/X86-64 support (Thanks to Rainer Orth)
 - Applied a long-lost MINGW patch from Gerard Allan for malloc redirection
   with threads.  This one probably makes no sense for 7.0, and was not applied
   there.
 - The Solaris/SPARC definition of GC_INIT() in gc.h wasn't C++-compilable.
2006-07-17 17:08:16 +00:00

54 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.57 2006/07/17 17:08:16 wiz Exp $
DISTNAME= gc6.8
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= ${PKGMANDIR}/man3
MAKE_ENV+= COPTS=${CFLAGS:M*: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}/${PKGMANDIR}/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"