diff options
-rw-r--r-- | virtual/perl-DB_File/ChangeLog | 6 | ||||
-rw-r--r-- | virtual/perl-DB_File/perl-DB_File-1.814.ebuild | 9 |
2 files changed, 9 insertions, 6 deletions
diff --git a/virtual/perl-DB_File/ChangeLog b/virtual/perl-DB_File/ChangeLog index aceacdc50824..22bef790c32e 100644 --- a/virtual/perl-DB_File/ChangeLog +++ b/virtual/perl-DB_File/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for virtual/perl-DB_File # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/virtual/perl-DB_File/ChangeLog,v 1.8 2006/11/19 18:35:28 mcummings Exp $ +# $Header: /var/cvsroot/gentoo-x86/virtual/perl-DB_File/ChangeLog,v 1.9 2006/11/20 03:25:36 swegener Exp $ + + 20 Nov 2006; Sven Wegener <swegener@gentoo.org> perl-DB_File-1.814.ebuild: + Drop berkdb from IUSE, this package doesn't use it. Move checking from + src_unpack to pkg_setup. 19 Nov 2006; Michael Cummings <mcummings@gentoo.org> perl-DB_File-1.814.ebuild: 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 } - |