head	1.49;
access;
symbols
	pkgsrc-2013Q2:1.49.0.42
	pkgsrc-2013Q2-base:1.49
	pkgsrc-2012Q4:1.49.0.40
	pkgsrc-2012Q4-base:1.49
	pkgsrc-2011Q4:1.49.0.38
	pkgsrc-2011Q4-base:1.49
	pkgsrc-2011Q2:1.49.0.36
	pkgsrc-2011Q2-base:1.49
	pkgsrc-2009Q4:1.49.0.34
	pkgsrc-2009Q4-base:1.49
	pkgsrc-2008Q4:1.49.0.32
	pkgsrc-2008Q4-base:1.49
	pkgsrc-2008Q3:1.49.0.30
	pkgsrc-2008Q3-base:1.49
	cube-native-xorg:1.49.0.28
	cube-native-xorg-base:1.49
	pkgsrc-2008Q2:1.49.0.26
	pkgsrc-2008Q2-base:1.49
	pkgsrc-2008Q1:1.49.0.24
	pkgsrc-2008Q1-base:1.49
	pkgsrc-2007Q4:1.49.0.22
	pkgsrc-2007Q4-base:1.49
	pkgsrc-2007Q3:1.49.0.20
	pkgsrc-2007Q3-base:1.49
	pkgsrc-2007Q2:1.49.0.18
	pkgsrc-2007Q2-base:1.49
	pkgsrc-2007Q1:1.49.0.16
	pkgsrc-2007Q1-base:1.49
	pkgsrc-2006Q4:1.49.0.14
	pkgsrc-2006Q4-base:1.49
	pkgsrc-2006Q3:1.49.0.12
	pkgsrc-2006Q3-base:1.49
	pkgsrc-2006Q2:1.49.0.10
	pkgsrc-2006Q2-base:1.49
	pkgsrc-2006Q1:1.49.0.8
	pkgsrc-2006Q1-base:1.49
	pkgsrc-2005Q4:1.49.0.6
	pkgsrc-2005Q4-base:1.49
	pkgsrc-2005Q3:1.49.0.4
	pkgsrc-2005Q3-base:1.49
	pkgsrc-2005Q2:1.49.0.2
	pkgsrc-2005Q2-base:1.49
	pkgsrc-2005Q1:1.44.0.8
	pkgsrc-2005Q1-base:1.44
	pkgsrc-2004Q4:1.44.0.6
	pkgsrc-2004Q4-base:1.44
	pkgsrc-2004Q3:1.44.0.4
	pkgsrc-2004Q3-base:1.44
	pkgsrc-2004Q2:1.44.0.2
	pkgsrc-2004Q2-base:1.44
	pkgsrc-2004Q1:1.43.0.2
	pkgsrc-2004Q1-base:1.43
	pkgsrc-2003Q4:1.42.0.2
	pkgsrc-2003Q4-base:1.42
	netbsd-1-6-1:1.41.0.2
	netbsd-1-6-1-base:1.41
	netbsd-1-6:1.37.0.4
	netbsd-1-6-RELEASE-base:1.37
	pkgviews:1.36.0.4
	pkgviews-base:1.36
	buildlink2:1.36.0.2
	buildlink2-base:1.37
	netbsd-1-5-PATCH003:1.36
	netbsd-1-5-PATCH001:1.32
	netbsd-1-5-RELEASE:1.26
	netbsd-1-4-PATCH003:1.26
	netbsd-1-4-PATCH002:1.18
	comdex-fall-1999:1.17
	netbsd-1-4-PATCH001:1.14
	netbsd-1-4-RELEASE:1.4
	pkgsrc-base:1.1.1.1
	TNF:1.1.1;
locks; strict;
comment	@# @;


1.49
date	2005.05.18.22.39.00;	author wiz;	state dead;
branches;
next	1.48;

1.48
date	2005.04.11.21.45.37;	author tv;	state Exp;
branches;
next	1.47;

1.47
date	2005.04.05.22.02.10;	author kristerw;	state Exp;
branches;
next	1.46;

1.46
date	2005.03.28.14.25.36;	author jschauma;	state Exp;
branches;
next	1.45;

1.45
date	2005.03.27.21.31.43;	author kristerw;	state Exp;
branches;
next	1.44;

1.44
date	2004.04.27.03.09.58;	author snj;	state Exp;
branches;
next	1.43;

1.43
date	2004.01.27.00.53.12;	author heinz;	state Exp;
branches;
next	1.42;

1.42
date	2003.07.17.21.33.14;	author grant;	state Exp;
branches;
next	1.41;

1.41
date	2002.12.12.07.07.05;	author msaitoh;	state Exp;
branches;
next	1.40;

1.40
date	2002.10.10.18.59.30;	author tron;	state Exp;
branches;
next	1.39;

1.39
date	2002.09.10.19.54.59;	author jlam;	state Exp;
branches;
next	1.38;

1.38
date	2002.08.25.19.22.38;	author jlam;	state Exp;
branches;
next	1.37;

1.37
date	2002.07.24.19.45.23;	author jlam;	state Exp;
branches;
next	1.36;

1.36
date	2002.03.28.12.12.31;	author dmcmahill;	state Exp;
branches
	1.36.2.1;
next	1.35;

1.35
date	2001.10.25.15.42.56;	author jlam;	state Exp;
branches;
next	1.34;

1.34
date	2001.07.15.12.49.47;	author jlam;	state Exp;
branches;
next	1.33;

1.33
date	2001.05.19.03.56.33;	author jlam;	state Exp;
branches;
next	1.32;

1.32
date	2001.04.30.04.16.09;	author jlam;	state Exp;
branches;
next	1.31;

1.31
date	2001.03.27.03.19.53;	author hubertf;	state Exp;
branches;
next	1.30;

1.30
date	2001.02.16.14.38.58;	author wiz;	state Exp;
branches;
next	1.29;

1.29
date	2001.01.13.03.33.14;	author hubertf;	state Exp;
branches;
next	1.28;

1.28
date	2000.11.14.02.30.12;	author msaitoh;	state Exp;
branches;
next	1.27;

1.27
date	2000.10.30.22.39.54;	author msaitoh;	state Exp;
branches;
next	1.26;

1.26
date	2000.09.24.17.14.37;	author msaitoh;	state Exp;
branches;
next	1.25;

1.25
date	2000.09.05.09.33.15;	author jlam;	state Exp;
branches;
next	1.24;

1.24
date	2000.08.28.09.14.50;	author jlam;	state Exp;
branches;
next	1.23;

1.23
date	2000.07.17.12.40.02;	author msaitoh;	state Exp;
branches;
next	1.22;

1.22
date	2000.07.17.03.35.44;	author msaitoh;	state Exp;
branches;
next	1.21;

1.21
date	2000.06.21.08.57.04;	author tron;	state Exp;
branches;
next	1.20;

1.20
date	2000.06.07.04.28.20;	author msaitoh;	state Exp;
branches;
next	1.19;

1.19
date	2000.05.07.11.18.19;	author msaitoh;	state Exp;
branches;
next	1.18;

1.18
date	99.12.28.05.09.49;	author wiz;	state Exp;
branches;
next	1.17;

1.17
date	99.09.30.13.15.09;	author msaitoh;	state Exp;
branches;
next	1.16;

1.16
date	99.09.08.16.17.24;	author bad;	state Exp;
branches;
next	1.15;

1.15
date	99.08.06.17.08.57;	author msaitoh;	state Exp;
branches;
next	1.14;

1.14
date	99.06.23.16.57.07;	author msaitoh;	state Exp;
branches;
next	1.13;

1.13
date	99.05.31.10.13.57;	author msaitoh;	state Exp;
branches;
next	1.12;

1.12
date	99.05.24.20.39.38;	author tv;	state Exp;
branches;
next	1.11;

1.11
date	99.05.22.03.23.13;	author tsarna;	state Exp;
branches;
next	1.10;

1.10
date	99.05.20.17.28.31;	author msaitoh;	state Exp;
branches;
next	1.9;

1.9
date	99.05.12.13.24.26;	author msaitoh;	state Exp;
branches;
next	1.8;

1.8
date	99.05.06.22.38.08;	author tv;	state Exp;
branches;
next	1.7;

1.7
date	99.05.06.21.01.46;	author tv;	state Exp;
branches;
next	1.6;

1.6
date	99.05.06.20.07.21;	author tv;	state Exp;
branches;
next	1.5;

1.5
date	99.05.02.12.04.11;	author tron;	state Exp;
branches;
next	1.4;

1.4
date	99.05.01.14.37.30;	author tron;	state Exp;
branches;
next	1.3;

1.3
date	99.03.30.00.59.24;	author msaitoh;	state Exp;
branches;
next	1.2;

1.2
date	99.03.29.23.31.08;	author tron;	state Exp;
branches;
next	1.1;

1.1
date	99.03.29.23.13.56;	author tron;	state Exp;
branches
	1.1.1.1;
next	;

1.36.2.1
date	2002.08.22.11.11.03;	author jlam;	state Exp;
branches;
next	;

1.1.1.1
date	99.03.29.23.13.56;	author tron;	state Exp;
branches;
next	;


desc
@@


1.49
log
@Remove packages that have been broken on 2.0/i386 for over 9 months
now; neither maintainer nor anyone else stepped up to fix them.

Predicted on tech-pkg and in private mail to maintainers; no comments.
@
text
@# $NetBSD: Makefile,v 1.48 2005/04/11 21:45:37 tv Exp $

DISTNAME=		PTL-2.1.9
PKGNAME=		ptl-2.1.9
CATEGORIES=		devel
MASTER_SITES=		ftp://ftp.media.osaka-cu.ac.jp/pub/PTL/PTL2/

PATCH_SITES=		${MASTER_SITES}

MAINTAINER=		msaitoh@@NetBSD.org
HOMEPAGE=		http://www.media.osaka-cu.ac.jp/~k-abe/PTL/
COMMENT=		Portable user-level Thread Library 2 written by Kota Abe

USE_PERL5=		build
MAKE_ENV=		INSTALL_PROGRAM="${INSTALL_SCRIPT}"
PLIST_SRC=		${WRKDIR}/PLIST

# This needs a fair bit of work on Darwin and IRIX, so for now disable.
NOT_FOR_PLATFORM=	Darwin-*-* IRIX-*-*

post-install:
	@@${CHOWN} -R ${BINOWN}:${BINGRP} ${PREFIX}/PTL/include
	@@${FIND} ${PREFIX}/PTL/include -type f -name "*.orig" -print | ${XARGS} ${RM}
	@@${FIND} ${PREFIX}/PTL/include -type d -print | ${XARGS} ${CHMOD} 755
	@@${FIND} ${PREFIX}/PTL/include -type f -print | ${XARGS} ${CHMOD} 444
	@@${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
	@@cd ${PREFIX}; \
	${FIND} PTL -type f -print >>${PLIST_SRC}; \
	for LINK in `${FIND} PTL -type l -print`; do \
	  set - X `${FILE_CMD} $$LINK`; \
	  ${ECHO} "@@exec ${LN} -s $$6 %D/$$LINK" >>${PLIST_SRC}; \
	  ${ECHO} "@@unexec ${RM} -f %D/$$LINK" >>${PLIST_SRC}; \
	done; \
	for DIR in `${FIND} PTL -type d -print | sort -r`; do \
	  if [ -z "`ls $$DIR`" ]; then \
	    ${ECHO} "@@exec ${MKDIR} %D/$$DIR" >>${PLIST_SRC}; \
	  fi; \
	  ${ECHO} "@@dirrm $$DIR" >>${PLIST_SRC}; \
	done

.include "../../mk/bsd.pkg.mk"
@


1.48
log
@Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.47 2005/04/05 22:02:10 kristerw Exp $
@


1.47
log
@Last commit did remove Darwin from NOT_FOR_PLATFORM by mistake.
Put it back again.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.46 2005/03/28 14:25:36 jschauma Exp $
a13 1
USE_BUILDLINK3=		YES
@


1.46
log
@Mark as not for IRIX:
This _might_ be tweaked to work under IRIX, but seems to need some work.
For the time being, mark as not available, since otherwise bulk-builds
will attempt to build it and endlessly loop during configure.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.45 2005/03/27 21:31:43 kristerw Exp $
a13 2
NOT_FOR_PLATFORM+=	Darwin-*-*

d19 2
a20 2
# This needs a fair bit of work on IRIX, so for now disable.
NOT_FOR_PLATFORM=	IRIX-*-*
@


1.45
log
@The configuration script gets confused by the Darwin libc, and waits for
user action (and thus breaks bulk builds...)

Add Darwin to NOT_FOR_PLATFORM.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.44 2004/04/27 03:09:58 snj Exp $
d21 3
@


1.44
log
@Convert to buildlink3.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.43 2004/01/27 00:53:12 heinz Exp $
d14 2
@


1.43
log
@Use $FIND with "-print". Noted by Georg Schwarz in PR pkg/24248
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.42 2003/07/17 21:33:14 grant Exp $
d14 1
a14 1
USE_BUILDLINK2=		YES
@


1.42
log
@s/netbsd.org/NetBSD.org/
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.41 2002/12/12 07:07:05 msaitoh Exp $
d21 1
a21 1
	@@${FIND} ${PREFIX}/PTL/include -type f -name "*.orig" | ${XARGS} ${RM}
d26 2
a27 2
	${FIND} PTL -type f >>${PLIST_SRC}; \
	for LINK in `${FIND} PTL -type l`; do \
d32 1
a32 1
	for DIR in `${FIND} PTL -type d | sort -r`; do \
@


1.41
log
@Update to PTL-2.1.9

Changes:

* fixed: pthread_kill() does not restore the critical level when given
  signal number is zero.

* New API: POSIX readdir_r.

* fixed: interruption by a signal whose handler is SIG_SIGWAIT_NP may
  cause infinite loop.

* fixed: PTL's internal SIGSEGV handler gets strange arguments on a
  system that has POSIX-based signal facility.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.40 2002/10/10 18:59:30 tron Exp $
d10 1
a10 1
MAINTAINER=		msaitoh@@netbsd.org
@


1.40
log
@Add work arround for buffer overflow in PTL2 library as suggested by
Nick Hudson. This fixes PR pkg/18585. Bump package revision to 1.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.39 2002/09/10 19:54:59 jlam Exp $
d3 2
a4 3
DISTNAME=		PTL-2.1.8
PKGNAME=		ptl-2.1.8
PKGREVISION=		1
@


1.39
log
@buildlink1 -> buildlink2
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.38 2002/08/25 19:22:38 jlam Exp $
d5 1
@


1.38
log
@Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.36.2.1 2002/08/22 11:11:03 jlam Exp $
d14 1
a14 1
USE_BUILDLINK_ONLY=	YES
@


1.37
log
@Change explicit build dependencies on perl into "USE_PERL5=build".  This
makes these packages build correctly on Darwin where perl>=5.8.0 is
required.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.36 2002/03/28 12:12:31 dmcmahill Exp $
@


1.36
log
@update to ptl-2.1.8

changes are:

2001-03-02  Kota ABE  <k-abe@@media.osaka-cu.ac.jp>

* include/setjmp.h: change the name of struct _sigjmp_buf into
  struct _ptl_sigjmp_buf.  FreeBSD 4.2R's <machine/setjmp.h> defines
  the same struct.

2000-12-07  Kota ABE  <k-abe@@media.osaka-cu.ac.jp>

* src/io_api.c (read_timedwait): fixed: infinite loop when READ()
  returns with EIO. (<hsaitoh@@nts.ricoh.co.jp>).

* src/io_api.c (readv_timedwait): ditto.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.35 2001/10/25 15:42:56 jlam Exp $
a13 2
BUILD_DEPENDS=		perl>=${PERL5_REQD}:../../lang/perl5

d15 1
@


1.36.2.1
log
@Merge changes from pkgsrc-current into the buildlink2 branch for the
packages that have buildlink2.mk files.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.37 2002/07/24 19:45:23 jlam Exp $
d14 2
a16 1
USE_PERL5=		build
@


1.35
log
@Note package is strongly-buildlinked (trivially).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.34 2001/07/15 12:49:47 jlam Exp $
d3 2
a4 2
DISTNAME=		PTL-2.1.7
PKGNAME=		ptl-2.1.7
@


1.34
log
@Use ${FILE_CMD} instead of ${FILE}.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.33 2001/05/19 03:56:33 jlam Exp $
d16 1
@


1.33
log
@Use ${XARGS} instead of invoking xargs directly.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.32 2001/04/30 04:16:09 jlam Exp $
d28 1
a28 1
	  set - X `${FILE} $$LINK`; \
@


1.32
log
@Change build dependency from perl-5.* to perl>=${PERL5_REQD}.  Also change
dependency from libperl-5.* to libperl>=${PERL5_REQD}.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.31 2001/03/27 03:19:53 hubertf Exp $
d21 3
a23 3
	@@${FIND} ${PREFIX}/PTL/include -type f -name "*.orig" | xargs ${RM}
	@@${FIND} ${PREFIX}/PTL/include -type d -print | xargs ${CHMOD} 755
	@@${FIND} ${PREFIX}/PTL/include -type f -print | xargs ${CHMOD} 444
@


1.31
log
@Change BUILD_DEPENDS semantics:
first component is now a package name+version/pattern, no more
executable/patchname/whatnot.

While there, introduce BUILD_USES_MSGFMT as shorthand to pull in
devel/gettext unless /usr/bin/msgfmt exists (i.e. on post-1.5 -current).

Patch by Alistair Crooks <agc@@netbsd.org>
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.30 2001/02/16 14:38:58 wiz Exp $
d14 1
a14 1
BUILD_DEPENDS=		perl-5.*:../../lang/perl5
@


1.30
log
@Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.29 2001/01/13 03:33:14 hubertf Exp $
d14 1
a14 1
BUILD_DEPENDS=		${PERL5}:../../lang/perl5-base
@


1.29
log
@add missing '$'
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.28 2000/11/14 02:30:12 msaitoh Exp $
d12 1
@


1.28
log
@Upgrade to PTL-2.1.7

Changes:

* fixed: priority queue, used in condition variable, mutex and join,
  might corrupt if multiple threads of different priority are blocking
  on the same queue.

* fixed: fopen() and fdopen() do not unlock the mutex for the stdio.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.27 2000/10/30 22:39:54 msaitoh Exp $
d28 1
a28 1
	  ${ECHO} "@@exec {LN} -s $$6 %D/$$LINK" >>${PLIST_SRC}; \
@


1.27
log
@Upgrade to 2.1.6.

Changes from 2.1.5:

	* src/io.c (fcntl): support nonblocking I/O.

	* src/sleep.c (sleep): change return type and the argument of
	sleep() from int to unsigned.

	* src/cond.c: add unrenamed pthread_cond_timedwait().

	* include/pthread.h: fix the prototype of pthread_cond_timedwait().
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2000/09/24 17:14:37 msaitoh Exp $
d3 2
a4 2
DISTNAME=		PTL-2.1.6
PKGNAME=		ptl-2.1.6
@


1.26
log
@Upgrade to 2.1.5.

Changes:

* Add wait3() and wait4().

* fixed: wait() or waitpid() might not return even after a child
  process exits.

* fixed: bug in close() and pipe().

* fixed: processes might hang up if a signal interrupts within a
  critical region.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2000/09/05 09:33:15 jlam Exp $
d3 2
a4 2
DISTNAME=		PTL-2.1.5
PKGNAME=		ptl-2.1.5
@


1.25
log
@Update build dependency on perl to build in correct directory if perl
interpreter is not found.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 2000/08/28 09:14:50 jlam Exp $
d3 2
a4 2
DISTNAME=		PTL-2.1.4
PKGNAME=		ptl-2.1.4
d28 2
a29 2
	  echo "@@exec ln -s $$6 %D/$$LINK" >>${PLIST_SRC}; \
	  echo "@@unexec rm -f %D/$$LINK" >>${PLIST_SRC}; \
@


1.24
log
@Use PERL5 variable for location of perl5 binary.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 2000/07/17 12:40:02 msaitoh Exp $
d13 1
a13 1
BUILD_DEPENDS=		${PERL5}:../../lang/perl5
@


1.23
log
@ptl works on alpha. I removed "NOT_FOR_PLATFORM=*-*-alpha"
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2000/07/17 03:35:44 msaitoh Exp $
d13 1
a13 1
BUILD_DEPENDS=		${LOCALBASE}/bin/perl:../../lang/perl5
@


1.22
log
@Updated to PTL-2.1.4.

Changes between 2.1.3 and 2.1.4:

* fixed: a bug causes stack overflow if the process is interrupted by
  a UNIX signal frequently.

* fixed: sigwait() causes SIGSEGV.

* deferred cancellation is processed within BSD socket APIs.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2000/06/21 08:57:04 tron Exp $
a16 2

NOT_FOR_PLATFORM=	*-*-alpha
@


1.21
log
@Fix automatical creation of package list to handle symbolic links to
directories properly.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2000/06/07 04:28:20 msaitoh Exp $
d3 2
a4 2
DISTNAME=		PTL-2.1.3
PKGNAME=		ptl-2.1.3
@


1.20
log
@Update to PTL-2.1.3

Changes from 2.1.2:

	* src/mutex.c: Now pthread_mutex_lock() is NOT a cancellation
	point, as POSIX requires.

	* src/sched.c (_pthread_block): check cancellation status before
	making the calling thread block.

	* add call to pthread_testcancel() to a lot of cancellation point
	functions.

	* src/mutex.c, src/cond.c: fixed: mutex and cv chain can be
	corrupted.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2000/05/07 11:18:19 msaitoh Exp $
d28 5
a32 1
	${FIND} PTL -type l >>${PLIST_SRC}; \
@


1.19
log
@Jump to PTL-2.1.2

Changes between PTL2-current-990622 and PTL-2.1.2

	* support NetBSD/arm32.

	* fix a configure.in bug which fails if $MACHINE != $MACHINE_ARCH.

	* src/io_udp.c (send_timedwait, sendto_timedwait,
 	sendmsg_timedait): While underlying system calls return with
 	EWOULDBLOCK, continue writing.

	* src/signal.c (_pthread_signal_init): On system that PTL can set
 	the stack pointer without using sigstack(), SIGUSR2 can be used
 	for user's purpose.

	* src/internal.h (END_CRITICAL): fixed: signal interruptions are
 	lost in certain situation theoretically.

	* src/io.c: use O_NONBLOCK rather than O_NDELAY in SunOS5.

	* Util/Makefile.in: version number of libPTL.so is changed to 2.0.

	* src/specific.c (pthread_key_create, pthread_setspecific): if
 	fail to allocate the memory, returns ENOMEM.

	* src/cond.c, src/mutex.c, include/sys/types.h: pthread_mutex_t
 	and pthread_cond_t are changed from `pointer to struct' to
 	`struct'.

	* src/cond-attr.c, include/sys/types.h: pthread_condattr_t is
 	changed from integer handle to struct.

	* src/cond.c, src/mutex.c, src/pthread.c:
 	pthread_{mutex_,cond_,}setname_np returns ENOMEM if malloc()
 	returns NULL.

	* src/cancel.c (pthread_setcancelstate): if FLAG_CLEANUP_HANDLER
 	is set, do not call pthread_exit() even if PTHREAD_CANCEL_ENABLE
 	is specified and the thread is already cancel requested.

	(pthread_testcancel): similar to above.

	* src/internal.h (FLAG_CLEANUP_HANDLER): this flag shows that the
 	thread is currently executing cleanup handlers.

	* src/sched.c (after_csw): Clear FLAG_DO_CANCEL flag before
 	executing cleanup handlers to prevent entering executing cleanup
 	handlers loop.

	* src/io.c (_pthread_pdb_iostat): Implement `iostat' command into
 	PDB.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 1999/12/28 05:09:49 wiz Exp $
d3 2
a4 2
DISTNAME=		PTL-2.1.2
PKGNAME=		ptl-2.1.2
@


1.18
log
@replaced some commands by their ${COMMAND} counterparts
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 1999/09/30 13:15:09 msaitoh Exp $
d3 2
a4 2
DISTNAME=		PTL2-current-990622
PKGNAME=		ptl2-990622
d6 1
a6 1
MASTER_SITES=		ftp://ftp.media.osaka-cu.ac.jp/pub/PTL/PTL2/PTL2-current-990622/
a8 6
PATCHFILES=		PTL2-current-990622-patch-1 \
			PTL2-current-990622-patch-2.gz \
			PTL2-current-990622-patch-3 \
			PTL2-current-990622-patch-4 \
			PTL2-current-990622-patch-5
PATCH_DIST_STRIP=	-p1
a14 4
CONFLICTS=		ptl-current-*

USE_GMAKE=

d28 1
a28 5
	for LINK in `${FIND} PTL -type l`; do \
	  set - X `file $$LINK`; \
	  ${ECHO} "@@exec ${LN} -s $$6 %D/$$LINK" >>${PLIST_SRC}; \
	  ${ECHO} "@@unexec ${RM} -f %D/$$LINK" >>${PLIST_SRC}; \
	done; \
@


1.17
log
@add PTL2-current-990622-patch-5
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 1999/09/08 16:17:24 bad Exp $
d32 3
a34 3
	@@find ${PREFIX}/PTL/include -type f -name "*.orig" | xargs ${RM}
	@@find ${PREFIX}/PTL/include -type d -print | xargs ${CHMOD} 755
	@@find ${PREFIX}/PTL/include -type f -print | xargs ${CHMOD} 444
d37 2
a38 2
	find PTL -type f >>${PLIST_SRC}; \
	for LINK in `find PTL -type l`; do \
d40 1
a40 1
	  ${ECHO} "@@exec ln -s $$6 %D/$$LINK" >>${PLIST_SRC}; \
d43 1
a43 1
	for DIR in `find PTL -type d | sort -r`; do \
@


1.16
log
@Pull in patch4 too.  Fixes a compile problem on sparc.  From Kota Abe.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 1999/08/06 17:08:57 msaitoh Exp $
d10 1
a10 1
			PTL2-current-990622-patch-2 \
d12 2
a13 1
			PTL2-current-990622-patch-4
@


1.15
log
@upgraded to -patch-3
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 1999/06/23 16:57:07 msaitoh Exp $
d11 2
a12 1
			PTL2-current-990622-patch-3
@


1.14
log
@upgrade PTL2 to PTL2-current-990622 (with patch-1)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 1999/05/31 10:13:57 msaitoh Exp $
d9 3
a11 1
PATCHFILES=		PTL2-current-990622-patch-1
@


1.13
log
@PTL2-current-990512-patch-2
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 1999/05/24 20:39:38 tv Exp $
d3 2
a4 2
DISTNAME=		PTL2-current-990512
PKGNAME=		ptl2-990512
d6 1
a6 1
MASTER_SITES=		ftp://ftp.media.osaka-cu.ac.jp/pub/PTL/PTL2/PTL2-current-990512/
d8 2
a9 2
PATCH_SITES=	${MASTER_SITES}
PATCHFILES=	PTL2-current-990512-patch-1 PTL2-current-990512-patch-2
@


1.12
log
@Change {ONLY,NOT}_FOR_{ARCH,OPSYS} format to {ONLY,NOT}_FOR_PLATFORM
pattern match format.  Minor pkglint along the way.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 1999/05/22 03:23:13 tsarna Exp $
d7 4
@


1.11
log
@patch-1 breaks sigjmp. Instead of using it, add patch-ac, which is
corrected version of patch-1.

Still have problems with ttyname()...
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 1999/05/20 17:28:31 msaitoh Exp $
d3 4
a6 4
DISTNAME=	PTL2-current-990512
PKGNAME=	ptl2-990512
CATEGORIES=	devel
MASTER_SITES=	ftp://ftp.media.osaka-cu.ac.jp/pub/PTL/PTL2/PTL2-current-990512/
d8 2
a9 2
MAINTAINER=	msaitoh@@netbsd.org
HOMEPAGE=	http://www.media.osaka-cu.ac.jp/~k-abe/PTL/
d11 1
a11 1
BUILD_DEPENDS=	${LOCALBASE}/bin/perl:../../lang/perl5
d13 1
a13 1
DIST_SUBDIR=	${PKGNAME}
d15 1
a15 1
CONFLICTS=	ptl-current-*
d17 2
a18 1
USE_GMAKE=	YES
d20 1
a20 4
MAKE_ENV=	INSTALL_PROGRAM="${INSTALL_SCRIPT}"
PLIST_SRC=	${WRKDIR}/PLIST

NOT_FOR_ARCHS=	alpha
@


1.10
log
@PTL2-current-990512-patch-1
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 1999/05/12 13:24:26 msaitoh Exp $
a6 4

PATCH_SITES=	${MASTER_SITES}
PATCHFILES=	PTL2-current-990512-patch-1
PATCH_DIST_STRIP=	-p1
@


1.9
log
@Upate PTL2 to PTL2-current-990512.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 1999/05/06 22:38:08 tv Exp $
d8 4
d17 2
d39 1
a39 1
	  ${ECHO} "@@unexec rm -f %D/$$LINK" >>${PLIST_SRC}; \
d43 1
a43 1
	    ${ECHO} "@@exec mkdir -p %D/$$DIR" >>${PLIST_SRC}; \
@


1.8
log
@Turn off on alpha.  This was hosed before, and still is after the ctor change.
Will look into it.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 1999/05/06 21:01:46 tv Exp $
d3 2
a4 2
DISTNAME=	PTL2-current-990325
PKGNAME=	ptl2-990325
d6 1
a6 1
MASTER_SITES=	ftp://ftp.media.osaka-cu.ac.jp/pub/PTL/PTL2/PTL2-current-990325/
@


1.7
log
@Install ptlg++ with the right permissions by handing down INSTALL_SCRIPT.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 1999/05/06 20:07:21 tv Exp $
d19 2
@


1.6
log
@Use proper ELF build (with -soname); also add c++rt0 for a.out and
crt{begin,end}S for ELF so that a constructor does not have to be attached
to every resultant .o file (_pthread_init() becomes a constructor in the
library itself).  Add ptlg++ as analogue of ptlgcc.
The pkgname is renamed ptl-990315 (drop -current-) so this version is not
considered compatible in binary form.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 1999/05/02 12:04:11 tron Exp $
d17 1
@


1.5
log
@Use "../../lang/perl5" to shut up "pkglint".
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 1999/05/01 14:37:30 tron Exp $
d4 1
a4 1
PKGNAME=	ptl2-current-990325
d12 2
@


1.4
log
@perl is only required at build time.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 1999/03/30 00:59:24 msaitoh Exp $
d11 1
a11 1
BUILD_DEPENDS=	${LOCALBASE}/bin/perl:${PKGSRCDIR}/lang/perl5
@


1.3
log
@Eliminate libdata/PTL
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 1999/03/29 23:31:08 tron Exp $
d11 2
a13 1
USE_PERL5=	YES
@


1.2
log
@Remove commented out instructions and fix botch caused by pkglinting.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1.1.1 1999/03/29 23:13:56 tron Exp $
a16 1
	@@${MKDIR} ${PREFIX}/libdata/PTL
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
# $NetBSD$
d27 2
a28 2
	  @@${ECHO} "@@exec ln -s $$6 %D/$$LINK" >>${PLIST_SRC}; \
	  @@${ECHO} "@@unexec rm -f %D/$$LINK" >>${PLIST_SRC}; \
d32 1
a32 1
	    @@${ECHO} "@@exec mkdir -p %D/$$DIR" >>${PLIST_SRC}; \
d34 1
a34 1
	  @@${ECHO} "@@dirrm $$DIR" >>${PLIST_SRC}; \
a35 2
#	@@cd ${PREFIX}; \
#	find PTL -type d | sort -r | ${SED} -e 's#^P#@@dirrm P#' >>${PLIST_SRC}
@


1.1.1.1
log
@New "ptl2" package supplied by SAITOH Masanobu in pkg/7212:
This is PTL2 -- Portable Thread Library 2 wrrtten by Kota Abe.
@
text
@@
