summaryrefslogtreecommitdiff
path: root/databases/db4/Makefile
diff options
context:
space:
mode:
authoradam <adam>2010-06-02 12:06:21 +0000
committeradam <adam>2010-06-02 12:06:21 +0000
commit4ead38a1e5973bbd5d678f3009ba18d86ffec789 (patch)
treeef4f6856eaae88621505ceb4784c45f8564dc360 /databases/db4/Makefile
parent7fb3b553c4b5486ee42b123c8048e5aea4c8e56e (diff)
downloadpkgsrc-4ead38a1e5973bbd5d678f3009ba18d86ffec789.tar.gz
Changes 4.8.30:
* The log file format changed in 11gR2. * Replication Manager sites can specify one or more possible client-to-client peers. * Added resource management feature in all Berkeley DB APIs to automatically manage cursor and database handles by closing them when they are not required, if they are not yet closed. * Added a SQL interface to the Berkeley DB library. The interface is based on - and a drop-in-replacement for - the SQLite API. It can be accessed via a command line utility, a C API, or existing APIs built for SQLite. * Added hash databases support to the DB->compact interface. * Renamed the "db_sql" utility to "db_sql_codegen". This utility is not built by default. To build this utility, enter --enable-sql_codegen as an argument to configure. * Added transactional support in db_sql_codegen utility. Specify TRANSACTIONAL or NONTRANSACTIONAL in hint comments in SQL statement, db_sql_codegen enable/disable transaction in generated code accordingly. * Added the feature read-your-writes consistency that allows client application to check, or wait for a specific transaction to be replicated from the master before reading database. * Added DB log verification feature, accessible via the API and a new utility. This feature can help debugging and analysis. * Added support for applications to assign master/client role explicitly at any time. Replication Manager can now be configured not to initiate elections. * more...
Diffstat (limited to 'databases/db4/Makefile')
-rw-r--r--databases/db4/Makefile33
1 files changed, 8 insertions, 25 deletions
diff --git a/databases/db4/Makefile b/databases/db4/Makefile
index c85d57365c2..cf46e2598a8 100644
--- a/databases/db4/Makefile
+++ b/databases/db4/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.58 2010/01/16 17:57:37 wiz Exp $
+# $NetBSD: Makefile,v 1.59 2010/06/02 12:06:21 adam Exp $
#
# NOTE:
# When updating this package, a change in the minor (4.n -> 4.(n+1))
@@ -6,15 +6,14 @@
# ABI depends in buildlink3.mk and bump PKGREVISIONs for all dependencies.
# In particular, take care to include BDB_ACCEPTED=db4 packages.
-DISTNAME= db-4.7.25
-PKGNAME= ${DISTNAME:S/db/db4/}.3
+DISTNAME= db-4.8.30
+PKGNAME= ${DISTNAME:S/db/db4/}
CATEGORIES= databases
MASTER_SITES= http://download.oracle.com/berkeley-db/ \
http://download-uk.oracle.com/berkeley-db/
-# doesn't apply due to line endings, included as patch-ba
-#PATCHFILES= patch.4.7.25.1
-#PATCH_SITES= http://www.oracle.com/technology/products/berkeley-db/db/update/4.7.25/
+#PATCHFILES= patch.4.8.30.1
+#PATCH_SITES= http://www.oracle.com/technology/products/berkeley-db/db/update/4.8.30/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.oracle.com/database/berkeley-db/db/index.html
@@ -29,36 +28,20 @@ USE_TOOLS+= pax
GNU_CONFIGURE= yes
CONFIGURE_DIRS= build_unix
CONFIGURE_SCRIPT= ../dist/configure
-
-CONFIGURE_ARGS+= --enable-cxx
-CONFIGURE_ARGS+= --enable-rpc
CONFIGURE_ARGS+= --enable-compat185
+CONFIGURE_ARGS+= --enable-cxx
CONFIGURE_ARGS+= --includedir=${PREFIX}/include/db4
CONFIGURE_ARGS+= --program-transform-name=s,db_,db4_,
-# Along with a hack in patch-ab, this forces shlib detection via
-# the pkgsrc-supplied libtool only.
-CONFIGURE_ENV+= LIBTOOL_PROG=${LIBTOOL:Q}\ ${LIBTOOL_FLAGS:Q}
-
OPSYSVARS+= LIBSO_LIBS
-LIBSO_LIBS.Interix+= -lrpclib
-LIBS.Interix+= -lrpclib # needed for in-tree programs, too
LIBSO_LIBS.SunOS+= -lnsl -lrt
CONFIGURE_ENV+= LIBSO_LIBS=${LIBSO_LIBS:Q}
# 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. We also only care if we're using a non-GCC compiler since
-# we have code to use GCC assembly for mutexes instead of 1003.1
-# mutexes.
-#
-.include "../../mk/compiler.mk"
-.if !empty(PKGSRC_COMPILER:Mgcc)
-CONFIGURE_ENV+= ac_cv_lib_pthread_main=no
-.else
+# threads.
PTHREAD_OPTS+= native
-. include "../../mk/pthread.buildlink3.mk"
-.endif
+.include "../../mk/pthread.buildlink3.mk"
INSTALLATION_DIRS= include/db4 lib share/doc/db4