diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2010-07-14 20:37:20 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2010-07-14 20:37:20 +0000 |
commit | 08bbd91c3581069eb81ede0b8538a28a000531e2 (patch) | |
tree | c1f2b8e7c948ceed71b6f03c911baa0aa280fd42 | |
parent | Make sure that the . is in the library loading paths (for 1.9.2). (diff) | |
download | gentoo-2-08bbd91c3581069eb81ede0b8538a28a000531e2.tar.gz gentoo-2-08bbd91c3581069eb81ede0b8538a28a000531e2.tar.bz2 gentoo-2-08bbd91c3581069eb81ede0b8538a28a000531e2.zip |
Make sure that the . is in the library loading paths (for 1.9.2).
(Portage version: 2.2_rc67/cvs/Linux x86_64)
-rw-r--r-- | dev-ruby/racc/ChangeLog | 5 | ||||
-rw-r--r-- | dev-ruby/racc/racc-1.4.6.ebuild | 5 |
2 files changed, 8 insertions, 2 deletions
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ò <flameeyes@gentoo.org> racc-1.4.6.ebuild: + Make sure that the . is in the library loading paths (for 1.9.2). 22 May 2010; Alex Legler <a3li@gentoo.org> 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" |