diff options
author | Sven Wegener <swegener@gentoo.org> | 2006-11-20 03:25:36 +0000 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2006-11-20 03:25:36 +0000 |
commit | e982d0df28deb0b6ace321a850b120063cede4b6 (patch) | |
tree | 3a7302ce696c85c0b454c0fcb70187f62742b05c /virtual/perl-DB_File/perl-DB_File-1.814.ebuild | |
parent | clean out old ebuilds (diff) | |
download | gentoo-2-e982d0df28deb0b6ace321a850b120063cede4b6.tar.gz gentoo-2-e982d0df28deb0b6ace321a850b120063cede4b6.tar.bz2 gentoo-2-e982d0df28deb0b6ace321a850b120063cede4b6.zip |
Drop berkdb from IUSE, this package doesn't use it. Move checking from src_unpack to pkg_setup.
(Portage version: 2.1.2_rc2)
Diffstat (limited to 'virtual/perl-DB_File/perl-DB_File-1.814.ebuild')
-rw-r--r-- | virtual/perl-DB_File/perl-DB_File-1.814.ebuild | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/virtual/perl-DB_File/perl-DB_File-1.814.ebuild b/virtual/perl-DB_File/perl-DB_File-1.814.ebuild index e177f82286c5..cf20b53b9c56 100644 --- a/virtual/perl-DB_File/perl-DB_File-1.814.ebuild +++ b/virtual/perl-DB_File/perl-DB_File-1.814.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 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.814.ebuild,v 1.6 2006/11/19 18:35:28 mcummings Exp $ +# $Header: /var/cvsroot/gentoo-x86/virtual/perl-DB_File/perl-DB_File-1.814.ebuild,v 1.7 2006/11/20 03:25:36 swegener Exp $ inherit eutils @@ -12,13 +12,12 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86" -IUSE="berkdb" +IUSE="" DEPEND="" RDEPEND="|| ( ~dev-lang/perl-5.8.8 ~perl-core/DB_File-${PV} )" -src_unpack() { +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}" + die "You must build perl with USE=\"berkdb\" or install perl-core/DB_File-${PV}" fi } - |