summaryrefslogtreecommitdiff
path: root/databases/db4
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-11-17 18:29:20 +0000
committerjlam <jlam@pkgsrc.org>2004-11-17 18:29:20 +0000
commit0901a8c6c11d95f203479eeffd3fcc9dcba100d1 (patch)
tree3e622d3489a7edb6fddcb31942107865e4e0b575 /databases/db4
parentf37c0719772308d9c95f9ade470f22e63c8a45df (diff)
downloadpkgsrc-0901a8c6c11d95f203479eeffd3fcc9dcba100d1.tar.gz
DB4 only want pthreads because it's really after POSIX 1003.1
inter-process mutexes. In this case, we only care to use the native threads. Bump the PKGREVISION since this means that non-native pthreads platforms will no longer depend on GNU pth.
Diffstat (limited to 'databases/db4')
-rw-r--r--databases/db4/Makefile9
-rw-r--r--databases/db4/buildlink3.mk4
2 files changed, 9 insertions, 4 deletions
diff --git a/databases/db4/Makefile b/databases/db4/Makefile
index de8b588c7ae..17310dccba0 100644
--- a/databases/db4/Makefile
+++ b/databases/db4/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.27 2004/11/17 06:04:43 jlam Exp $
+# $NetBSD: Makefile,v 1.28 2004/11/17 18:29:20 jlam Exp $
DISTNAME= db-4.2.52
PKGNAME= ${DISTNAME:S/db/db4/}
-PKGREVISION= 6
+PKGREVISION= 7
CATEGORIES= databases
MASTER_SITES= http://www.sleepycat.com/update/snapshot/
@@ -45,6 +45,11 @@ OPSYSVARS+= LIBSO_LIBS
LIBSO_LIBS.SunOS+= -lnsl
CONFIGURE_ENV+= LIBSO_LIBS="${LIBSO_LIBS}"
+# DB4 only want pthreads because it's really after POSIX 1003.1
+# inter-process mutexes. In this case, we only care to use the native
+# threads.
+#
+PTHREAD_OPTS+= native
.include "../../mk/pthread.buildlink3.mk"
post-install:
diff --git a/databases/db4/buildlink3.mk b/databases/db4/buildlink3.mk
index c0e36fb1ca4..40009df2c80 100644
--- a/databases/db4/buildlink3.mk
+++ b/databases/db4/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.21 2004/11/15 17:54:49 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.22 2004/11/17 18:29:20 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
DB4_BUILDLINK3_MK:= ${DB4_BUILDLINK3_MK}+
@@ -14,7 +14,7 @@ BUILDLINK_PACKAGES+= db4
.if !empty(DB4_BUILDLINK3_MK:M+)
BUILDLINK_DEPENDS.db4+= db4>=4.2.52
-BUILDLINK_RECOMMENDED.db4+= db4>=4.2.52nb6
+BUILDLINK_RECOMMENDED.db4+= db4>=4.2.52nb7
BUILDLINK_PKGSRCDIR.db4?= ../../databases/db4
BUILDLINK_INCDIRS.db4?= include/db4
BUILDLINK_LDADD.db4= -ldb4