Import npth
nPth is a non-preemptive threads implementation using an API very similar to the one known from GNU Pth. It has been designed as a replacement of GNU Pth for non-ancient operating systems. In contrast to GNU Pth is is based on the system's standard threads implementation. Thus nPth allows the use of libraries which are not compatible to GNU Pth. ok ajacoutot@
This commit is contained in:
parent
a038c21368
commit
fa4c815e80
37
devel/npth/Makefile
Normal file
37
devel/npth/Makefile
Normal file
@ -0,0 +1,37 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2012/10/17 11:56:22 pea Exp $
|
||||
|
||||
COMMENT= new GNU Portable Threads Library
|
||||
|
||||
DISTNAME= npth-0.91
|
||||
|
||||
SHARED_LIBS= npth 0.0 # 0.2
|
||||
|
||||
CATEGORIES= devel
|
||||
|
||||
HOMEPAGE= http://www.gnupg.org
|
||||
|
||||
MAINTAINER= Pierre-Emmanuel Andre <pea@openbsd.org>
|
||||
|
||||
# GPLv2
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
EXTRACT_SUFX= .tar.bz2
|
||||
|
||||
WANTLIB= pthread
|
||||
|
||||
MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/npth/
|
||||
|
||||
CONFIGURE_STYLE= gnu
|
||||
|
||||
LIBnpth_MAJOR=${LIBnpth_VERSION:R}
|
||||
LIBnpth_MINOR=${LIBnpth_VERSION:E}
|
||||
|
||||
SUBST_VARS= LIBnpth_MAJOR LIBnpth_MINOR
|
||||
|
||||
pre-configure:
|
||||
${SUBST_CMD} ${WRKSRC}/configure
|
||||
|
||||
.include <bsd.port.mk>
|
2
devel/npth/distinfo
Normal file
2
devel/npth/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (npth-0.91.tar.bz2) = yu+GztSjMeFiiXgYpbkkhgyNYAPlLaW9922gDo4N+uE=
|
||||
SIZE (npth-0.91.tar.bz2) = 299702
|
14
devel/npth/patches/patch-configure
Normal file
14
devel/npth/patches/patch-configure
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-configure,v 1.1.1.1 2012/10/17 11:56:22 pea Exp $
|
||||
--- configure.orig Mon Oct 15 17:36:14 2012
|
||||
+++ configure Mon Oct 15 17:37:56 2012
|
||||
@@ -2276,8 +2276,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
||||
# (Interfaces removed/changed: AGE=0)
|
||||
#
|
||||
LIBNPTH_LT_CURRENT=0
|
||||
-LIBNPTH_LT_AGE=0
|
||||
-LIBNPTH_LT_REVISION=2
|
||||
+LIBNPTH_LT_AGE=${LIBnpth_MAJOR}
|
||||
+LIBNPTH_LT_REVISION=${LIBnpth_MINOR}
|
||||
|
||||
# If the API is changed in an incompatible way: increment the next counter.
|
||||
NPTH_CONFIG_API_VERSION=1
|
5
devel/npth/pkg/DESCR
Normal file
5
devel/npth/pkg/DESCR
Normal file
@ -0,0 +1,5 @@
|
||||
nPth is a non-preemptive threads implementation using an API very similar to
|
||||
the one known from GNU Pth. It has been designed as a replacement of GNU Pth
|
||||
for non-ancient operating systems. In contrast to GNU Pth is is based on the
|
||||
system's standard threads implementation. Thus nPth allows the use of
|
||||
libraries which are not compatible to GNU Pth.
|
2
devel/npth/pkg/PFRAG.shared
Normal file
2
devel/npth/pkg/PFRAG.shared
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2012/10/17 11:56:22 pea Exp $
|
||||
@lib lib/libnpth.so.${LIBnpth_VERSION}
|
7
devel/npth/pkg/PLIST
Normal file
7
devel/npth/pkg/PLIST
Normal file
@ -0,0 +1,7 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/10/17 11:56:22 pea Exp $
|
||||
%%SHARED%%
|
||||
bin/npth-config
|
||||
include/npth.h
|
||||
lib/libnpth.la
|
||||
share/aclocal/
|
||||
share/aclocal/npth.m4
|
Loading…
Reference in New Issue
Block a user