summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorsten Veller <tove@gentoo.org>2010-02-05 17:48:03 +0000
committerTorsten Veller <tove@gentoo.org>2010-02-05 17:48:03 +0000
commit7cca3e9774dbc157acf38228afb60c5c15fb2731 (patch)
tree347b9a0f027b1b15b4b67baab1870213f1df3e45 /virtual/perl-DB_File/perl-DB_File-1.820.ebuild
parentRun the tests and depend on the virtual (diff)
downloadhistorical-7cca3e9774dbc157acf38228afb60c5c15fb2731.tar.gz
historical-7cca3e9774dbc157acf38228afb60c5c15fb2731.tar.bz2
historical-7cca3e9774dbc157acf38228afb60c5c15fb2731.zip
Depend on perl[berkdb]
Package-Manager: portage-2.2_rc62/cvs/Linux x86_64
Diffstat (limited to 'virtual/perl-DB_File/perl-DB_File-1.820.ebuild')
-rw-r--r--virtual/perl-DB_File/perl-DB_File-1.820.ebuild12
1 files changed, 4 insertions, 8 deletions
diff --git a/virtual/perl-DB_File/perl-DB_File-1.820.ebuild b/virtual/perl-DB_File/perl-DB_File-1.820.ebuild
index fa025f7fcf9e..52ad79d37e9d 100644
--- a/virtual/perl-DB_File/perl-DB_File-1.820.ebuild
+++ b/virtual/perl-DB_File/perl-DB_File-1.820.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/virtual/perl-DB_File/perl-DB_File-1.820.ebuild,v 1.11 2010/01/07 20:05:55 tove Exp $
+# $Header: /var/cvsroot/gentoo-x86/virtual/perl-DB_File/perl-DB_File-1.820.ebuild,v 1.12 2010/02/05 17:48:03 tove Exp $
+
+EAPI=2
inherit eutils
@@ -14,10 +16,4 @@ KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd6
IUSE=""
DEPEND=""
-RDEPEND="|| ( ~dev-lang/perl-5.10.1 ~perl-core/DB_File-${PV} )"
-
-pkg_setup() {
- if ! has_version "~perl-core/DB_File-${PV}" && ! built_with_use dev-lang/perl berkdb ; then
- die "You must build perl with USE=\"berkdb\" or install perl-core/DB_File-${PV}"
- fi
-}
+RDEPEND="|| ( ~dev-lang/perl-5.10.1[berkdb] ~perl-core/DB_File-${PV} )"