diff options
author | uebayasi <uebayasi> | 2003-06-29 06:51:45 +0000 |
---|---|---|
committer | uebayasi <uebayasi> | 2003-06-29 06:51:45 +0000 |
commit | a127e15990bf471e8013856b307d49006f3595c4 (patch) | |
tree | fbe01cd531f6daeb1fd25afd3693b9f92a7b87dd /devel/boehm-gc | |
parent | 9506dda7fa4f025bd7f9820ca7b45c077d8f55af (diff) | |
download | pkgsrc-a127e15990bf471e8013856b307d49006f3595c4.tar.gz |
Add a test target. One appropriate ${MAKE_PROGRAM}.
Diffstat (limited to 'devel/boehm-gc')
-rw-r--r-- | devel/boehm-gc/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/devel/boehm-gc/Makefile b/devel/boehm-gc/Makefile index 68d78bb21a6..7bade0e4af2 100644 --- a/devel/boehm-gc/Makefile +++ b/devel/boehm-gc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.29 2003/06/27 10:49:42 jmmv Exp $ +# $NetBSD: Makefile,v 1.30 2003/06/29 06:51:45 uebayasi Exp $ # DISTNAME= gc6.2 @@ -18,6 +18,8 @@ LIBTOOL_OVERRIDE= ${WRKSRC}/libtool MAKE_ENV+= COPTS="${CFLAGS}" +#TEST_TARGET= check + .include "../../mk/bsd.prefs.mk" .if defined(EXTRACT_USING_PAX) @@ -37,8 +39,13 @@ pre-build: post-install: @cd ${WRKSRC}; \ - ${MAKE} -f ${WRKSRC}/Makefile.direct bsd-libleak.a + ${MAKE_PROGRAM} -f ${WRKSRC}/Makefile.direct bsd-libleak.a ${INSTALL_DATA} ${WRKSRC}/bsd-libleak.a ${PREFIX}/lib/libleak.a ${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" |