summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/pth/Makefile15
-rw-r--r--devel/pth/files/md53
-rw-r--r--devel/pth/patches/patch-aa11
-rw-r--r--devel/pth/patches/patch-ab18
-rw-r--r--devel/pth/pkg/COMMENT1
-rw-r--r--devel/pth/pkg/DESCR5
-rw-r--r--devel/pth/pkg/PLIST13
7 files changed, 66 insertions, 0 deletions
diff --git a/devel/pth/Makefile b/devel/pth/Makefile
new file mode 100644
index 00000000000..54dffb8f203
--- /dev/null
+++ b/devel/pth/Makefile
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/07/05 05:09:48 sakamoto Exp $
+#
+
+DISTNAME= pth-1.0b2
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GNU:=pth/}
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.gnu.org/software/pth/pth.html
+
+USE_LIBTOOL= YES
+GNU_CONFIGURE= YES
+CONFIGURE_ARGS+= --enable-pthread
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/pth/files/md5 b/devel/pth/files/md5
new file mode 100644
index 00000000000..2794fe35c80
--- /dev/null
+++ b/devel/pth/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1999/07/05 05:09:48 sakamoto Exp $
+
+MD5 (pth-1.0b2.tar.gz) = d57546e7a611ddc3e62f73d90e7dc6dd
diff --git a/devel/pth/patches/patch-aa b/devel/pth/patches/patch-aa
new file mode 100644
index 00000000000..ccc72bf46e1
--- /dev/null
+++ b/devel/pth/patches/patch-aa
@@ -0,0 +1,11 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/07/05 05:09:48 sakamoto Exp $
+
+--- ./configure.orig Sun Jul 4 22:14:20 1999
++++ ./configure Mon Jul 5 13:16:46 1999
+@@ -1009,5 +1009,5 @@
+ $libtool_flags --no-verify ltmain.sh $PLATFORM ||\
+ { echo "configure: error: libtool configuration failed" 1>&2; exit 1; }
+-LIBTOOL="\$(TOP)/libtool"
++LIBTOOL=$LIBTOOL
+
+
diff --git a/devel/pth/patches/patch-ab b/devel/pth/patches/patch-ab
new file mode 100644
index 00000000000..9e8b0288376
--- /dev/null
+++ b/devel/pth/patches/patch-ab
@@ -0,0 +1,18 @@
+$NetBSD: patch-ab,v 1.1.1.1 1999/07/05 05:09:48 sakamoto Exp $
+
+--- ./Makefile.in.orig Sun Jul 4 23:10:35 1999
++++ ./Makefile.in Mon Jul 5 13:22:59 1999
+@@ -193,5 +193,5 @@
+ $(SHTOOL) install -c -m 644 pth.3 $(mandir)/man3/pth.3
+ $(SHTOOL) install -c -m 644 pth.h $(includedir)/pth.h
+- @$(LIBTOOL) --mode=install $(SHTOOL) install -c -m 644 libpth.la $(libdir)/libpth.la
++ @$(LIBTOOL) --mode=install install -c -m 644 libpth.la $(libdir)/libpth.la
+ install-pthread:
+ $(SHTOOL) install -c -m 755 pthread-config $(bindir)/pthread-config
+@@ -199,5 +199,5 @@
+ $(SHTOOL) install -c -m 644 pthread.h $(includedir)/pthread.h
+ $(SHTOOL) install -c -m 644 pthread.3 $(mandir)/man3/pthread.3
+- @$(LIBTOOL) --mode=install $(SHTOOL) install -c -m 644 libpthread.la $(libdir)/libpthread.la
++ @$(LIBTOOL) --mode=install install -c -m 644 libpthread.la $(libdir)/libpthread.la
+
+ # clean the source tree for re-building
diff --git a/devel/pth/pkg/COMMENT b/devel/pth/pkg/COMMENT
new file mode 100644
index 00000000000..ddbedc1ec30
--- /dev/null
+++ b/devel/pth/pkg/COMMENT
@@ -0,0 +1 @@
+GNU pth - GNU Portable Threads
diff --git a/devel/pth/pkg/DESCR b/devel/pth/pkg/DESCR
new file mode 100644
index 00000000000..c9733eaf9ec
--- /dev/null
+++ b/devel/pth/pkg/DESCR
@@ -0,0 +1,5 @@
+PTH is a very portable POSIX/ANSI-C based library for Unix platforms which
+provides non-preemptive scheduling for multiple threads of execution
+("multithreading") inside server applications. All threads run in the same
+address space of the server application, but each thread has it's own
+individual program-counter, run-time stack, signal mask and errno variable.
diff --git a/devel/pth/pkg/PLIST b/devel/pth/pkg/PLIST
new file mode 100644
index 00000000000..6fea688bca1
--- /dev/null
+++ b/devel/pth/pkg/PLIST
@@ -0,0 +1,13 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/07/05 05:09:48 sakamoto Exp $
+bin/pth-config
+bin/pthread-config
+include/pth.h
+include/pthread.h
+lib/libpth.a
+lib/libpth.so.10.0
+lib/libpthread.a
+lib/libpthread.so.10.0
+man/man1/pth-config.1
+man/man1/pthread-config.1
+man/man3/pth.3
+man/man3/pthread.3