summaryrefslogtreecommitdiff
path: root/devel/ptl2/Makefile
diff options
context:
space:
mode:
authormsaitoh <msaitoh@pkgsrc.org>2000-05-07 11:18:19 +0000
committermsaitoh <msaitoh@pkgsrc.org>2000-05-07 11:18:19 +0000
commitc4354bc45b40426a5748e65463ca4024596788e2 (patch)
tree9e42f138d6cb4d3b91a189c9cb18feb23b22f2d4 /devel/ptl2/Makefile
parent571add49c81b64dbe9522ec71f1f39629cc67389 (diff)
downloadpkgsrc-c4354bc45b40426a5748e65463ca4024596788e2.tar.gz
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.
Diffstat (limited to 'devel/ptl2/Makefile')
-rw-r--r--devel/ptl2/Makefile24
1 files changed, 5 insertions, 19 deletions
diff --git a/devel/ptl2/Makefile b/devel/ptl2/Makefile
index 6b1f620a6e6..c9812fb9239 100644
--- a/devel/ptl2/Makefile
+++ b/devel/ptl2/Makefile
@@ -1,27 +1,17 @@
-# $NetBSD: Makefile,v 1.18 1999/12/28 05:09:49 wiz Exp $
+# $NetBSD: Makefile,v 1.19 2000/05/07 11:18:19 msaitoh Exp $
-DISTNAME= PTL2-current-990622
-PKGNAME= ptl2-990622
+DISTNAME= PTL-2.1.2
+PKGNAME= ptl-2.1.2
CATEGORIES= devel
-MASTER_SITES= ftp://ftp.media.osaka-cu.ac.jp/pub/PTL/PTL2/PTL2-current-990622/
+MASTER_SITES= ftp://ftp.media.osaka-cu.ac.jp/pub/PTL/PTL2/
PATCH_SITES= ${MASTER_SITES}
-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
MAINTAINER= msaitoh@netbsd.org
HOMEPAGE= http://www.media.osaka-cu.ac.jp/~k-abe/PTL/
BUILD_DEPENDS= ${LOCALBASE}/bin/perl:../../lang/perl5
-CONFLICTS= ptl-current-*
-
-USE_GMAKE=
-
MAKE_ENV= INSTALL_PROGRAM="${INSTALL_SCRIPT}"
PLIST_SRC= ${WRKDIR}/PLIST
@@ -35,11 +25,7 @@ post-install:
@${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
@cd ${PREFIX}; \
${FIND} PTL -type f >>${PLIST_SRC}; \
- 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; \
+ ${FIND} PTL -type l >>${PLIST_SRC}; \
for DIR in `${FIND} PTL -type d | sort -r`; do \
if [ -z "`ls $$DIR`" ]; then \
${ECHO} "@exec ${MKDIR} %D/$$DIR" >>${PLIST_SRC}; \