summaryrefslogtreecommitdiff
path: root/devel/pth/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2000-10-06 09:03:17 +0000
committerjlam <jlam@pkgsrc.org>2000-10-06 09:03:17 +0000
commit6f591c2d2b54ec688d4c117bfc9df3071ad4037c (patch)
tree4d541ced740d61bf1df50ae2a0ee283170a0d760 /devel/pth/Makefile
parent08322b85c2abd9c7ba21d813826218953e15e5f9 (diff)
downloadpkgsrc-6f591c2d2b54ec688d4c117bfc9df3071ad4037c.tar.gz
Add a "test" target to check that the thread library actually works by
calling the library's own test target.
Diffstat (limited to 'devel/pth/Makefile')
-rw-r--r--devel/pth/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/devel/pth/Makefile b/devel/pth/Makefile
index c1bcc4e3c47..3a44490390d 100644
--- a/devel/pth/Makefile
+++ b/devel/pth/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2000/07/30 19:55:52 rh Exp $
+# $NetBSD: Makefile,v 1.31 2000/10/06 09:03:17 jlam Exp $
#
DISTNAME= pth-1.3.7
@@ -18,6 +18,9 @@ GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --enable-pthread
PLIST_SUBST+= VERS=${VERS}
+test:
+ @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} test
+
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pth/
cd ${WRKSRC} && ${INSTALL_DATA} ANNOUNCE AUTHORS COPYING HACKING \