summaryrefslogtreecommitdiff
path: root/devel/tet3
diff options
context:
space:
mode:
authoragc <agc>2003-11-17 09:02:55 +0000
committeragc <agc>2003-11-17 09:02:55 +0000
commit75d94dcb8543b1bd6b6afaa2dd8eaa5859d072e8 (patch)
treec06afce96533c16ec24154d212139d5dc53bf5ef /devel/tet3
parentb401d66bbf3390577f00839144e1f30dbfc51787 (diff)
downloadpkgsrc-75d94dcb8543b1bd6b6afaa2dd8eaa5859d072e8.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"