diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-05-19 19:58:46 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-05-19 19:58:46 +0000 |
commit | bc6f5694e45a50a95b08247e23296b1b0304b231 (patch) | |
tree | 1c31bd8a5f3c822b655448ca0d82557ec14e1dd8 /eclass/db-use.eclass | |
parent | New upstream version; Resolves Bug #117312; Added Emacs Herd to metadata.xml ... (diff) | |
download | gentoo-2-bc6f5694e45a50a95b08247e23296b1b0304b231.tar.gz gentoo-2-bc6f5694e45a50a95b08247e23296b1b0304b231.tar.bz2 gentoo-2-bc6f5694e45a50a95b08247e23296b1b0304b231.zip |
Unbreak db_libname and make it multilib-compatible.
Diffstat (limited to 'eclass/db-use.eclass')
-rw-r--r-- | eclass/db-use.eclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/db-use.eclass b/eclass/db-use.eclass index bef01470ae8e..2bf5d15bd73d 100644 --- a/eclass/db-use.eclass +++ b/eclass/db-use.eclass @@ -1,9 +1,9 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/db-use.eclass,v 1.3 2006/05/18 14:00:27 pauldv Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/db-use.eclass,v 1.4 2006/05/19 19:58:46 flameeyes Exp $ # This is a common location for functions that aid the use of sys-libs/db -inherit versionator +inherit versionator multilib #Convert a version to a db slot db_ver_to_slot() { @@ -83,7 +83,7 @@ db_includedir() { db_libname() { if [ $# -eq 0 ]; then VER="$(db_findver sys-libs/db)" || return 1 - if [ -e "/usr/lib/libdb-${VER}" ]; then + if [ -e "/usr/$(get_libdir)/libdb-${VER}.so" ]; then echo -n "db-${VER}" return 0 else |