summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Polatel <hawking@gentoo.org>2008-10-25 17:48:22 +0000
committerAli Polatel <hawking@gentoo.org>2008-10-25 17:48:22 +0000
commit93435e0673cf3f5b7a78144c311eb76624f80c6b (patch)
tree697fe078f80e07de21846f6903e9be2a25070091 /dev-python/bsddb3
parentStable on ppc wrt bug 243078 (diff)
downloadgentoo-2-93435e0673cf3f5b7a78144c311eb76624f80c6b.tar.gz
gentoo-2-93435e0673cf3f5b7a78144c311eb76624f80c6b.tar.bz2
gentoo-2-93435e0673cf3f5b7a78144c311eb76624f80c6b.zip
Use db-2.7 if available. Update DEPEND.
(Portage version: -svn/cvs/Linux 2.6.26-gentoo x86_64)
Diffstat (limited to 'dev-python/bsddb3')
-rw-r--r--dev-python/bsddb3/ChangeLog5
-rw-r--r--dev-python/bsddb3/bsddb3-4.7.3.ebuild11
2 files changed, 12 insertions, 4 deletions
diff --git a/dev-python/bsddb3/ChangeLog b/dev-python/bsddb3/ChangeLog
index 42215b6c96f2..837fc70addb2 100644
--- a/dev-python/bsddb3/ChangeLog
+++ b/dev-python/bsddb3/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-python/bsddb3
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/bsddb3/ChangeLog,v 1.26 2008/10/25 16:03:38 hawking Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/bsddb3/ChangeLog,v 1.27 2008/10/25 17:48:22 hawking Exp $
+
+ 25 Oct 2008; Ali Polatel <hawking@gentoo.org> bsddb3-4.7.3.ebuild:
+ Use db-2.7 if available. Update DEPEND.
*bsddb3-4.7.3 (25 Oct 2008)
diff --git a/dev-python/bsddb3/bsddb3-4.7.3.ebuild b/dev-python/bsddb3/bsddb3-4.7.3.ebuild
index 2718c59a8898..3aa6b9c368e1 100644
--- a/dev-python/bsddb3/bsddb3-4.7.3.ebuild
+++ b/dev-python/bsddb3/bsddb3-4.7.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/bsddb3/bsddb3-4.7.3.ebuild,v 1.1 2008/10/25 16:03:38 hawking Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/bsddb3/bsddb3-4.7.3.ebuild,v 1.2 2008/10/25 17:48:22 hawking Exp $
EAPI="1"
@@ -16,13 +16,18 @@ SLOT="0"
KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86"
IUSE="doc"
-RDEPEND="sys-libs/db:4.6"
+RDEPEND=">=sys-libs/db-4.6"
DEPEND="${RDEPEND}
dev-python/setuptools
doc? ( dev-python/sphinx )"
src_compile() {
- DB_VER="4.6"
+ local DB_VER
+ if has_version sys-libs/db:4.7; then
+ DB_VER="4.7"
+ else
+ DB_VER="4.6"
+ fi
sed -i \
-e "s/dblib = 'db'/dblib = '$(db_libname ${DB_VER})'/" \