summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorPaul de Vrieze <pauldv@gentoo.org>2006-08-06 11:58:51 +0000
committerPaul de Vrieze <pauldv@gentoo.org>2006-08-06 11:58:51 +0000
commit070fcf12bfc1c70581b1ab5c45f05a55cb153911 (patch)
treee7e6903f3d26aca99924151d99fca6c4e01f5c4f /eclass
parentstable amd64 (diff)
downloadgentoo-2-070fcf12bfc1c70581b1ab5c45f05a55cb153911.tar.gz
gentoo-2-070fcf12bfc1c70581b1ab5c45f05a55cb153911.tar.bz2
gentoo-2-070fcf12bfc1c70581b1ab5c45f05a55cb153911.zip
Add a tcl dependency when using the testsuite
Diffstat (limited to 'eclass')
-rw-r--r--eclass/db.eclass8
1 files changed, 6 insertions, 2 deletions
diff --git a/eclass/db.eclass b/eclass/db.eclass
index 961aa1cde68b..bd997cf02669 100644
--- a/eclass/db.eclass
+++ b/eclass/db.eclass
@@ -1,14 +1,18 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/db.eclass,v 1.28 2006/08/06 11:50:52 pauldv Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/db.eclass,v 1.29 2006/08/06 11:58:51 pauldv Exp $
# This is a common location for functions used in the sys-libs/db ebuilds
#
# Bugs: pauldv@gentoo.org
-IUSE="doc"
+IUSE="doc test"
EXPORT_FUNCTIONS src_test
+DEPEND="test? ( >=dev-lang/tcl-8.4 )"
+
+RDEPEND=""
+
db_fix_so () {
LIB="${ROOT}/usr/$(get_libdir)"