summaryrefslogtreecommitdiff
path: root/devel/mit-pthreads
diff options
context:
space:
mode:
authoragc <agc>1997-10-10 19:52:02 +0000
committeragc <agc>1997-10-10 19:52:02 +0000
commitee5913ff6a12151f4065374ee7485ed02a6a848f (patch)
tree642e59564c83e5e0a8d0edb03e572bed71515738 /devel/mit-pthreads
parent018d4043b282e2ef58d693e33a3112a9ef224034 (diff)
downloadpkgsrc-ee5913ff6a12151f4065374ee7485ed02a6a848f.tar.gz
Initial import of Chris Provenzano's MIT Pthreads POSIX threads
implementation, version 1.60beta6. Passes all its self tests on NetBSD/i386 1.2G. Not tested on any other architecture. Please note that this installs into ${PREFIX}/pthreads/...
Diffstat (limited to 'devel/mit-pthreads')
-rw-r--r--devel/mit-pthreads/Makefile21
-rw-r--r--devel/mit-pthreads/files/md51
-rw-r--r--devel/mit-pthreads/patches/patch-aa11
-rw-r--r--devel/mit-pthreads/pkg/COMMENT1
-rw-r--r--devel/mit-pthreads/pkg/DESCR6
-rw-r--r--devel/mit-pthreads/pkg/PLIST63
6 files changed, 103 insertions, 0 deletions
diff --git a/devel/mit-pthreads/Makefile b/devel/mit-pthreads/Makefile
new file mode 100644
index 00000000000..786f8b062a5
--- /dev/null
+++ b/devel/mit-pthreads/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 1997/10/10 19:52:02 agc Exp $
+# New ports collection makefile for: MIT pthreads
+# Version required: 1.60beta6
+# Date created: 10th October 1997
+# Whom: Alistair Crooks (agc@netbsd.org)
+#
+
+DISTNAME= pthreads-1_60_beta6
+PKGNAME= mit-pthreads-1.60b6
+CATEGORIES= devel
+MASTER_SITES= ftp://sipb.mit.edu/pub/pthreads/
+
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+MAKEFILE= GNUmakefile
+
+post-install:
+ find ${PREFIX}/pthreads/include -type f -print|xargs chmod 644
+ find ${PREFIX}/pthreads/include -type d -print|xargs chmod 755
+
+.include <bsd.port.mk>
diff --git a/devel/mit-pthreads/files/md5 b/devel/mit-pthreads/files/md5
new file mode 100644
index 00000000000..2ab5841d0ff
--- /dev/null
+++ b/devel/mit-pthreads/files/md5
@@ -0,0 +1 @@
+MD5 (pthreads-1_60_beta6.tar.gz) = b07eb623e1718b08ae29cc3595eb0263
diff --git a/devel/mit-pthreads/patches/patch-aa b/devel/mit-pthreads/patches/patch-aa
new file mode 100644
index 00000000000..865dad4af32
--- /dev/null
+++ b/devel/mit-pthreads/patches/patch-aa
@@ -0,0 +1,11 @@
+--- config/config.flags.in.orig Fri Mar 22 04:30:01 1996
++++ config/config.flags.in Fri Oct 10 20:01:53 1997
+@@ -3,7 +3,7 @@
+ srctop= @srctop@
+ srcfoo= $(srctop)
+
+-prefix= @prefix@
++prefix= @prefix@/pthreads
+ exec_prefix= @exec_prefix@
+
+ cpu = @target_cpu@
diff --git a/devel/mit-pthreads/pkg/COMMENT b/devel/mit-pthreads/pkg/COMMENT
new file mode 100644
index 00000000000..e3bc82d4ad6
--- /dev/null
+++ b/devel/mit-pthreads/pkg/COMMENT
@@ -0,0 +1 @@
+Chris Provenzano's (MIT) POSIX threads library
diff --git a/devel/mit-pthreads/pkg/DESCR b/devel/mit-pthreads/pkg/DESCR
new file mode 100644
index 00000000000..87253ede5c2
--- /dev/null
+++ b/devel/mit-pthreads/pkg/DESCR
@@ -0,0 +1,6 @@
+This is Chris Prevenzano's MIT Pthreads library.
+
+Pthreads stands for POSIX threads and is based on the POSIX 1003.1c 1995
+thread standard. This standard passed international Standards Organization
+(ISO) Committee Document (CD) balloting in February 1995 and got the
+IEEE Standards Board approval in June 1995.
diff --git a/devel/mit-pthreads/pkg/PLIST b/devel/mit-pthreads/pkg/PLIST
new file mode 100644
index 00000000000..11b0b3fee41
--- /dev/null
+++ b/devel/mit-pthreads/pkg/PLIST
@@ -0,0 +1,63 @@
+pthreads/bin/pgcc
+pthreads/bin/pg++
+pthreads/lib/libpthread.a
+pthreads/include/Makefile.inc
+pthreads/include/dirent.h
+pthreads/include/endian.h
+pthreads/include/errno.h
+pthreads/include/math.h
+pthreads/include/netdb.h
+pthreads/include/pthread.h
+pthreads/include/pwd.h
+pthreads/include/resolv.h
+pthreads/include/sched.h
+pthreads/include/signal.h
+pthreads/include/stdio.h
+pthreads/include/stdlib.h
+pthreads/include/string.h
+pthreads/include/syslog.h
+pthreads/include/time.h
+pthreads/include/timers.h
+pthreads/include/tzfile.h
+pthreads/include/unistd.h
+pthreads/include/arpa/inet.h
+pthreads/include/arpa/nameser.h
+pthreads/include/pthread/cleanup.h
+pthreads/include/pthread/cond.h
+pthreads/include/pthread/debug_out.h
+pthreads/include/pthread/fd.h
+pthreads/include/pthread/fd_pipe.h
+pthreads/include/pthread/kernel.h
+pthreads/include/pthread/kthread.h
+pthreads/include/pthread/mutex.h
+pthreads/include/pthread/prio_queue.h
+pthreads/include/pthread/pthread_attr.h
+pthreads/include/pthread/pthread_once.h
+pthreads/include/pthread/queue.h
+pthreads/include/pthread/sleep.h
+pthreads/include/pthread/specific.h
+pthreads/include/pthread/state.def
+pthreads/include/pthread/types.h
+pthreads/include/pthread/unistd.h
+pthreads/include/pthread/util.h
+pthreads/include/pthread/version.h
+pthreads/include/pthread/xtypes.h
+pthreads/include/pthread/machdep.h
+pthreads/include/pthread/posix.h
+pthreads/include/pthread/config.h
+pthreads/include/pthread/ac-types.h
+pthreads/include/pthread/paths.h
+pthreads/include/sys/__math.h
+pthreads/include/sys/__path.h
+pthreads/include/sys/__signal.h
+pthreads/include/sys/__stdio.h
+pthreads/include/sys/__stdlib.h
+pthreads/include/sys/__string.h
+pthreads/include/sys/__time.h
+pthreads/include/sys/__unistd.h
+pthreads/include/sys/compat.h
+pthreads/include/sys/dirent.h
+pthreads/include/sys/errno.h
+pthreads/include/sys/time.h
+pthreads/include/sys/timers.h
+pthreads/include/sys/wait.h