From 173d531301da8deb44e46d0f93fa8c7e2170c404 Mon Sep 17 00:00:00 2001 From: Naohiro Aota Date: Sun, 18 Sep 2011 04:30:14 +0000 Subject: [PATCH] Move new version dependencies into the new version check. --- eclass/ruby-ng-gnome2.eclass | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/eclass/ruby-ng-gnome2.eclass b/eclass/ruby-ng-gnome2.eclass index a7301e5519f8..78f596779958 100644 --- a/eclass/ruby-ng-gnome2.eclass +++ b/eclass/ruby-ng-gnome2.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng-gnome2.eclass,v 1.10 2011/09/18 03:45:21 naota Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng-gnome2.eclass,v 1.11 2011/09/18 04:30:14 naota Exp $ # @ECLASS: ruby-ng-gnome2.eclass # @MAINTAINER: @@ -27,6 +27,9 @@ if [ $(get_version_component_range "1-2") == "0.19" ]; then subbinding=${subbinding/%2} else subbinding=${subbinding/-/_} + DEPEND="dev-util/pkgconfig" + ruby_add_bdepend "dev-ruby/pkg-config + dev-ruby/rubygems" fi S=${WORKDIR}/ruby-gnome2-all-${PV}/${subbinding} SRC_URI="mirror://sourceforge/ruby-gnome2/ruby-gnome2-all-${PV}.tar.gz" @@ -34,10 +37,6 @@ HOMEPAGE="http://ruby-gnome2.sourceforge.jp/" LICENSE="Ruby" SLOT="0" -DEPEND="dev-util/pkgconfig" -ruby_add_bdepend "dev-ruby/pkg-config - dev-ruby/rubygems" - # @FUNCTION: each_ruby_configure # @DESCRIPTION: # Run the configure script in the subbinding for each specific ruby target. -- 2.26.2