diff options
author | 2009-06-20 11:46:06 +0000 | |
---|---|---|
committer | 2009-06-20 11:46:06 +0000 | |
commit | 50e7078f6f6d70f14a0613c659739e9a4b2392dc (patch) | |
tree | af239a6de571b66081338397b51c21a60dc1f995 /dev-ruby/rcairo | |
parent | Remove old version. (diff) | |
download | gentoo-2-50e7078f6f6d70f14a0613c659739e9a4b2392dc.tar.gz gentoo-2-50e7078f6f6d70f14a0613c659739e9a4b2392dc.tar.bz2 gentoo-2-50e7078f6f6d70f14a0613c659739e9a4b2392dc.zip |
Fix the fakegem installation on stable Ruby.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/rcairo')
-rw-r--r-- | dev-ruby/rcairo/ChangeLog | 6 | ||||
-rw-r--r-- | dev-ruby/rcairo/rcairo-1.8.0-r1.ebuild | 10 |
2 files changed, 11 insertions, 5 deletions
diff --git a/dev-ruby/rcairo/ChangeLog b/dev-ruby/rcairo/ChangeLog index 93c3d9cc8fda..cffc334e101d 100644 --- a/dev-ruby/rcairo/ChangeLog +++ b/dev-ruby/rcairo/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-ruby/rcairo # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcairo/ChangeLog,v 1.30 2009/05/14 19:29:30 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcairo/ChangeLog,v 1.31 2009/06/20 11:46:06 flameeyes Exp $ + + 20 Jun 2009; Diego E. Pettenò <flameeyes@gentoo.org> + rcairo-1.8.0-r1.ebuild: + Fix the fakegem installation on stable Ruby. 14 May 2009; Markus Meier <maekke@gentoo.org> rcairo-1.8.0-r1.ebuild: amd64/x86 stable, bug #269294 diff --git a/dev-ruby/rcairo/rcairo-1.8.0-r1.ebuild b/dev-ruby/rcairo/rcairo-1.8.0-r1.ebuild index 7b0969354c0d..3fad27c9d425 100644 --- a/dev-ruby/rcairo/rcairo-1.8.0-r1.ebuild +++ b/dev-ruby/rcairo/rcairo-1.8.0-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcairo/rcairo-1.8.0-r1.ebuild,v 1.4 2009/05/14 19:29:30 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcairo/rcairo-1.8.0-r1.ebuild,v 1.5 2009/06/20 11:46:06 flameeyes Exp $ EAPI=2 inherit ruby @@ -22,7 +22,7 @@ DEPEND="${RDEPEND} dev-util/pkgconfig" dofakegemspec() { - cat - > "${T}"/${P}.gemspec <<EOF + cat - > "${T}"/${P}.gemspec <<EOF Gem::Specification.new do |s| s.name = "${PN}" s.version = "${PV}" @@ -31,8 +31,10 @@ Gem::Specification.new do |s| end EOF - insinto $(${RUBY} -r rbconfig -e 'print Config::CONFIG["vendorlibdir"]' | sed -e 's:vendor_ruby:gems:')/specifications - doins "${T}"/${P}.gemspec || die "Unable to install fake gemspec" + # Note: this only works with 1.8 so if you need to make it work + # with 1.9 you better wait for ruby-fakegem.eclass. + insinto $(${RUBY} -r rbconfig -e 'print Config::CONFIG["sitedir"]')/../gems/1.8/specifications + doins "${T}"/${P}.gemspec || die "Unable to install fake gemspec" } src_install() { |