summaryrefslogtreecommitdiff
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
commiteb4925c6d39f50c085241d992544e51bf7d5e547 (patch)
tree6d92e0d129675eff6b00184076701d700fb50adc /eclass/db.eclass
parentstable amd64 (diff)
downloadhistorical-eb4925c6d39f50c085241d992544e51bf7d5e547.tar.gz
historical-eb4925c6d39f50c085241d992544e51bf7d5e547.tar.bz2
historical-eb4925c6d39f50c085241d992544e51bf7d5e547.zip
Add a tcl dependency when using the testsuite
Diffstat (limited to 'eclass/db.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)"