From 0901a8c6c11d95f203479eeffd3fcc9dcba100d1 Mon Sep 17 00:00:00 2001 From: jlam Date: Wed, 17 Nov 2004 18:29:20 +0000 Subject: 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. --- databases/db4/Makefile | 9 +++++++-- databases/db4/buildlink3.mk | 4 ++-- 2 files changed, 9 insertions(+), 4 deletions(-) (limited to 'databases') 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 -- cgit v1.2.3