pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/py-bsddb3 On NetBSD current with native thre...
details: https://anonhg.NetBSD.org/pkgsrc/rev/4250f06f2098
branches: trunk
changeset: 475171:4250f06f2098
user: seb <seb%pkgsrc.org@localhost>
date: Tue May 11 10:49:54 2004 +0000
description:
On NetBSD current with native threads it seems this python module can't
be imported by a non-thread aware python without it core dumping.
Hence restrict accepted python packages to threaded ones if native
threads are supported by the platform.
Bump PKGREVISION for that.
Provide a buildlink3.mk file mostly to help bl3ified packages to pick up
the right python packages with respect to this threading issue.
diffstat:
databases/py-bsddb3/Makefile | 8 +++++++-
databases/py-bsddb3/buildlink3.mk | 26 ++++++++++++++++++++++++++
2 files changed, 33 insertions(+), 1 deletions(-)
diffs (56 lines):
diff -r 6f97ca983f08 -r 4250f06f2098 databases/py-bsddb3/Makefile
--- a/databases/py-bsddb3/Makefile Tue May 11 07:15:59 2004 +0000
+++ b/databases/py-bsddb3/Makefile Tue May 11 10:49:54 2004 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.7 2004/03/04 15:55:18 minskim Exp $
+# $NetBSD: Makefile,v 1.8 2004/05/11 10:49:54 seb Exp $
#
DISTNAME= bsddb3-4.2.4
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION= 1
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pybsddb/}
@@ -19,6 +20,11 @@
BUILDLINK_DEPENDS.db4+= db4>=4.2.52
+.include "../../mk/pthread.buildlink3.mk"
+.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "native"
+PYTHON_VERSIONS_ACCEPTED= 23pth 22pth
+.endif
+
.include "../../databases/db4/buildlink3.mk"
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 6f97ca983f08 -r 4250f06f2098 databases/py-bsddb3/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/py-bsddb3/buildlink3.mk Tue May 11 10:49:54 2004 +0000
@@ -0,0 +1,26 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/05/11 10:49:54 seb Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+PY_BSDDB3_BUILDLINK3_MK:= ${PY_BSDDB3_BUILDLINK3_MK}+
+
+.include "../../mk/pthread.buildlink3.mk"
+.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "native"
+PYTHON_VERSIONS_ACCEPTED= 23pth 22pth
+.endif
+.include "../../lang/python/pyversion.mk"
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= py-bsddb3
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npy-bsddb3}
+BUILDLINK_PACKAGES+= py-bsddb3
+
+.if !empty(PY_BSDDB3_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.py-bsddb3+= ${PYPKGPREFIX}-bsddb3>=4.2.4nb1
+BUILDLINK_PKGSRCDIR.py-bsddb3?= ../../databases/py-bsddb3
+.endif # PY_BSDDB3_BUILDLINK3_MK
+
+.include "../../databases/db4/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
Home |
Main Index |
Thread Index |
Old Index