summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorjlam <jlam>2000-10-06 09:03:17 +0000
committerjlam <jlam>2000-10-06 09:03:17 +0000
commit189a9e021830b9e68d121203c7c773bf6508c2bf (patch)
tree4d541ced740d61bf1df50ae2a0ee283170a0d760 /devel
parentc090c1d00f3b92d91443bf1ceda0d269dd12a23f (diff)
downloadpkgsrc-189a9e021830b9e68d121203c7c773bf6508c2bf.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')
-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 \