diff options
author | Hans de Graaff <graaff@gentoo.org> | 2012-08-18 07:28:39 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2012-08-18 07:28:39 +0000 |
commit | 9bc075b8fc9444486419b481f1aa298c64190b7d (patch) | |
tree | 935e3512d65dcb5793132efe73aff024c85e46c4 /eclass/ruby-ng-gnome2.eclass | |
parent | Version bump. (diff) | |
download | gentoo-2-9bc075b8fc9444486419b481f1aa298c64190b7d.tar.gz gentoo-2-9bc075b8fc9444486419b481f1aa298c64190b7d.tar.bz2 gentoo-2-9bc075b8fc9444486419b481f1aa298c64190b7d.zip |
Support EAPI=4 (with RUBY_S).
Diffstat (limited to 'eclass/ruby-ng-gnome2.eclass')
-rw-r--r-- | eclass/ruby-ng-gnome2.eclass | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/eclass/ruby-ng-gnome2.eclass b/eclass/ruby-ng-gnome2.eclass index 10738a33f108..b7d81fe186bf 100644 --- a/eclass/ruby-ng-gnome2.eclass +++ b/eclass/ruby-ng-gnome2.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2012 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.15 2012/05/02 18:31:45 jdhore Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng-gnome2.eclass,v 1.16 2012/08/18 07:28:39 graaff Exp $ # @ECLASS: ruby-ng-gnome2.eclass # @MAINTAINER: @@ -31,7 +31,11 @@ else DEPEND="virtual/pkgconfig" ruby_add_bdepend "dev-ruby/pkg-config" fi -S=${WORKDIR}/ruby-gnome2-all-${PV}/${subbinding} +if has "${EAPI:-0}" 0 1 2 3 ; then + S=${WORKDIR}/ruby-gnome2-all-${PV}/${subbinding} +else + RUBY_S=ruby-gnome2-all-${PV}/${subbinding} +fi SRC_URI="mirror://sourceforge/ruby-gnome2/ruby-gnome2-all-${PV}.tar.gz" HOMEPAGE="http://ruby-gnome2.sourceforge.jp/" LICENSE="Ruby" |