From 20230133369bc47ba11c98f9f7e9e2d7fc419e87 Mon Sep 17 00:00:00 2001
From: Cecil <knoppmyth@gmail.com>
Date: Tue, 5 Jul 2011 18:59:21 -0700
Subject: db:Bumped to latest.

---
 abs/core/db/PKGBUILD   | 18 +++++++++---------
 abs/core/db/db.install |  2 +-
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/abs/core/db/PKGBUILD b/abs/core/db/PKGBUILD
index cc149a7..cbe2bea 100644
--- a/abs/core/db/PKGBUILD
+++ b/abs/core/db/PKGBUILD
@@ -1,27 +1,27 @@
-# $Id: PKGBUILD 76949 2010-04-09 08:14:30Z allan $
+# $Id: PKGBUILD 98547 2010-11-11 03:57:51Z allan $
 # Maintainer: Allan McRae <allan@archlinux.org>
 # Contributor: Andreas Radke <andyrtr@archlinux.org>
 
 pkgname=db
-pkgver=4.8.26
-_basever=4.8.26
-pkgrel=2
+pkgver=5.1.19
+_basever=5.1.19
+pkgrel=3
+epoch=1
 pkgdesc="The Berkeley DB embedded database system"
 arch=('i686' 'x86_64')
 url="http://www.oracle.com/technology/software/products/berkeley-db/index.html"
 license=('custom')
 depends=('gcc-libs' 'sh')
-conflicts=('db4')
-options=('!libtool' 'force')
+options=('!libtool')
 install=db.install
 source=(http://download-uk.oracle.com/berkeley-db/db-${_basever}.tar.gz)
-md5sums=('3476bac9ec0f3c40729c8a404151d5e3')
+md5sums=('76fcbfeebfcd09ba0b4d96bfdf8d884d')
 
 build() {
   cd ${srcdir}/$pkgname-${_basever}/build_unix
   ../dist/configure --prefix=/usr --enable-compat185 \
-    --enable-shared --enable-static --enable-cxx
-  make LIBSO_LIBS=-lpthread || return 1
+    --enable-shared --enable-static --enable-cxx --enable-dbm
+  make LIBSO_LIBS=-lpthread
 }
 
 package() {
diff --git a/abs/core/db/db.install b/abs/core/db/db.install
index eeda804..03b6404 100644
--- a/abs/core/db/db.install
+++ b/abs/core/db/db.install
@@ -1,5 +1,5 @@
 post_upgrade() {
-  if [ "$(vercmp $2 4.8)" -lt 0 ]; then
+  if [ "$(vercmp $2 5.1)" -lt 0 ]; then
     echo " >> Major version update. Consider running db_upgrade on Berkeley DB databases."
   fi
 }
-- 
cgit v0.12

