diff options
author | uebayasi <uebayasi@pkgsrc.org> | 2003-06-29 06:51:45 +0000 |
---|---|---|
committer | uebayasi <uebayasi@pkgsrc.org> | 2003-06-29 06:51:45 +0000 |
commit | 16eb45b413fbd2cf5bf9ddbed49d4620d70e1241 (patch) | |
tree | fbe01cd531f6daeb1fd25afd3693b9f92a7b87dd /devel/boehm-gc/Makefile | |
parent | e5c8678258eb753662b5a00878ac11ea7856376d (diff) | |
download | pkgsrc-16eb45b413fbd2cf5bf9ddbed49d4620d70e1241.tar.gz |
Add a test target. One appropriate ${MAKE_PROGRAM}.
Diffstat (limited to 'devel/boehm-gc/Makefile')
-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" |