diff options
Diffstat (limited to 'devel/boehm-gc/Makefile')
-rw-r--r-- | devel/boehm-gc/Makefile | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/devel/boehm-gc/Makefile b/devel/boehm-gc/Makefile index 5a893851e37..a0842b7a518 100644 --- a/devel/boehm-gc/Makefile +++ b/devel/boehm-gc/Makefile @@ -1,24 +1,25 @@ -# $NetBSD: Makefile,v 1.23 2002/09/25 18:18:51 wiz Exp $ -# FreeBSD Id: Makefile,v 1.1 1996/11/16 01:51:25 jdp Exp +# $NetBSD: Makefile,v 1.24 2003/02/14 18:50:50 wiz Exp $ # DISTNAME= gc6.1 PKGNAME= boehm-gc-6.1 +PKGREVISION= 1 +WRKSRC= ${WRKDIR}/gc6.1 CATEGORIES= devel MASTER_SITES= http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/ -MAINTAINER= packages@netbsd.org +MAINTAINER= marc@informatik.uni-bremen.de HOMEPAGE= http://www.hpl.hp.com/personal/Hans_Boehm/gc/ COMMENT= Garbage collection and memory leak detection for C and C++ +GNU_CONFIGURE= YES USE_BUILDLINK2= YES USE_GMAKE= YES +USE_LIBTOOL= YES +LIBTOOL_OVERRIDE= ${WRKSRC}/libtool MAKE_ENV+= COPTS="${CFLAGS}" -ALL_TARGET= BSD-pkg-all -INSTALL_TARGET= BSD-pkg-install - .include "../../mk/bsd.prefs.mk" .if defined(EXTRACT_USING_PAX) @@ -35,12 +36,12 @@ post-extract: pre-build: ${SED} -e "s|@PREFIX@|${PREFIX}|g" \ ${WRKSRC}/doc/gc.man.in > ${WRKSRC}/doc/gc.man - -do-install: - ${INSTALL_DATA} ${WRKSRC}/bsd-libgc.a ${PREFIX}/lib/libgc.a +post-install: + @cd ${WRKSRC}; \ + ${MAKE} -f ${WRKSRC}/Makefile.direct bsd-libleak.a ${INSTALL_DATA} ${WRKSRC}/bsd-libleak.a ${PREFIX}/lib/libleak.a ${INSTALL_DATA} ${WRKSRC}/include/gc.h ${WRKSRC}/include/gc_cpp.h \ - ${PREFIX}/include + ${WRKSRC}/include/gc_backptr.h ${PREFIX}/include ${INSTALL_MAN} ${WRKSRC}/doc/gc.man ${PREFIX}/man/man3/gc.3 .include "../../mk/bsd.pkg.mk" |