summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-perl/SVN-Simple/SVN-Simple-0.27.ebuild')
-rw-r--r--dev-perl/SVN-Simple/SVN-Simple-0.27.ebuild9
1 files changed, 3 insertions, 6 deletions
diff --git a/dev-perl/SVN-Simple/SVN-Simple-0.27.ebuild b/dev-perl/SVN-Simple/SVN-Simple-0.27.ebuild
index 5936c5c2f27a..4e624e89554d 100644
--- a/dev-perl/SVN-Simple/SVN-Simple-0.27.ebuild
+++ b/dev-perl/SVN-Simple/SVN-Simple-0.27.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/SVN-Simple/SVN-Simple-0.27.ebuild,v 1.11 2007/01/19 16:00:56 mcummings Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/SVN-Simple/SVN-Simple-0.27.ebuild,v 1.12 2007/05/05 16:06:53 ian Exp $
inherit perl-module
@@ -17,11 +17,8 @@ DEPEND=">=dev-util/subversion-0.31
dev-lang/perl"
pkg_setup() {
- if ! perl -MSVN::Core < /dev/null 2> /dev/null
- then
- eerror "You need subversion-0.31+ compiled with Perl bindings."
- eerror "USE=\"perl\" emerge subversion"
+ if ! built_with_use dev-util/subversion perl; then
+ eerror "You need >=dev-util/subversion-0.31 compiled with Perl bindings."
die "Need Subversion compiled with Perl bindings."
fi
}
-