pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/tet3 This package is a test suite, designed to t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9fd829216cc3
branches:  trunk
changeset: 463543:9fd829216cc3
user:      agc <agc%pkgsrc.org@localhost>
date:      Mon Nov 17 09:02:55 2003 +0000

description:
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:

 devel/tet3/Makefile |  11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r be753f6b439f -r 9fd829216cc3 devel/tet3/Makefile
--- a/devel/tet3/Makefile       Mon Nov 17 00:45:58 2003 +0000
+++ b/devel/tet3/Makefile       Mon Nov 17 09:02:55 2003 +0000
@@ -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 @@
        ${INSTALL_PROGRAM_DIR} ${PREFIX}/tet3/lib
        cd ${WRKSRC}/../lib && ${PAX} -rwpe . ${PREFIX}/tet3/lib
 
+.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/pthread.buildlink2.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index