From 08bbd91c3581069eb81ede0b8538a28a000531e2 Mon Sep 17 00:00:00 2001 From: Diego Elio Pettenò Date: Wed, 14 Jul 2010 20:37:20 +0000 Subject: Make sure that the . is in the library loading paths (for 1.9.2). (Portage version: 2.2_rc67/cvs/Linux x86_64) --- dev-ruby/racc/ChangeLog | 5 ++++- dev-ruby/racc/racc-1.4.6.ebuild | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'dev-ruby') diff --git a/dev-ruby/racc/ChangeLog b/dev-ruby/racc/ChangeLog index 1ac6e2fe2b3b..9e170f1e5b7d 100644 --- a/dev-ruby/racc/ChangeLog +++ b/dev-ruby/racc/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-ruby/racc # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/racc/ChangeLog,v 1.50 2010/05/22 22:45:52 a3li Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/racc/ChangeLog,v 1.51 2010/07/14 20:37:20 flameeyes Exp $ + + 14 Jul 2010; Diego E. Pettenò racc-1.4.6.ebuild: + Make sure that the . is in the library loading paths (for 1.9.2). 22 May 2010; Alex Legler racc-1.4.6.ebuild: Add REE18 support diff --git a/dev-ruby/racc/racc-1.4.6.ebuild b/dev-ruby/racc/racc-1.4.6.ebuild index bba116dc76f7..6e339f2ebda3 100644 --- a/dev-ruby/racc/racc-1.4.6.ebuild +++ b/dev-ruby/racc/racc-1.4.6.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/racc/racc-1.4.6.ebuild,v 1.7 2010/05/22 22:45:52 a3li Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/racc/racc-1.4.6.ebuild,v 1.8 2010/07/14 20:37:20 flameeyes Exp $ EAPI=2 @@ -23,6 +23,9 @@ IUSE="" ruby_add_bdepend "test? ( virtual/ruby-test-unit )" all_ruby_prepare() { + # for Ruby 1.9.2 compatibility + sed -i -e '1i $: << "."' Rakefile || die + sed -i -e '/tasks\/email/s:^:#:' Rakefile || die "rakefile fix failed" sed -i -e '/prerequisites/s:^:#:' tasks/test.rb || die "test task fix failed" sed -i -e 's|/tmp/out|${TMPDIR:-/tmp}/out|' test/helper.rb || die "tests fix failed" -- cgit v1.2.3-65-gdbad