summaryrefslogtreecommitdiff
path: root/devel/tet3
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2003-11-17 09:02:55 +0000
committeragc <agc@pkgsrc.org>2003-11-17 09:02:55 +0000
commit1496cb503c34c141a5d1a8fd69b59bd8bc6866f0 (patch)
treec06afce96533c16ec24154d212139d5dc53bf5ef /devel/tet3
parent06d188b5a7e52fa41bcaad8de571a439e23ad898 (diff)
downloadpkgsrc-1496cb503c34c141a5d1a8fd69b59bd8bc6866f0.tar.gz
This package is a test suite, designed to test the conformance of the
host operating system to standard specifications. Given that it tests the thread implementation, this package should only be built on systems with native thread implementations.
Diffstat (limited to 'devel/tet3')
-rw-r--r--devel/tet3/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/devel/tet3/Makefile b/devel/tet3/Makefile
index 5cc479c5692..515bca1d775 100644
--- a/devel/tet3/Makefile
+++ b/devel/tet3/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2003/11/09 00:08:43 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2003/11/17 09:02:55 agc Exp $
DISTNAME= tet3.3h-unsup.src
PKGNAME= tet3-3.3h
@@ -31,6 +31,13 @@ post-install:
${INSTALL_PROGRAM_DIR} ${PREFIX}/tet3/lib
cd ${WRKSRC}/../lib && ${PAX} -rwpe . ${PREFIX}/tet3/lib
-.include "../../lang/perl5/buildlink2.mk"
.include "../../mk/pthread.buildlink2.mk"
+
+PTHREAD_OPTS= native # only native threads make sense
+
+.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} != "native"
+PKG_SKIP_REASON= "Native threads are needed for this package"
+.endif
+
+.include "../../lang/perl5/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"