summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2011-11-27 19:24:55 +0000
committerHans de Graaff <graaff@gentoo.org>2011-11-27 19:24:55 +0000
commit9c58cb7893e1da05d345294536e9083223788f7e (patch)
treef6ae06f5256deb540348ad08a08791d525f2cbf4 /dev-ruby/racc
parentVersion bump. Fix build issues. (diff)
downloadgentoo-2-9c58cb7893e1da05d345294536e9083223788f7e.tar.gz
gentoo-2-9c58cb7893e1da05d345294536e9083223788f7e.tar.bz2
gentoo-2-9c58cb7893e1da05d345294536e9083223788f7e.zip
Remove the need for rake-compiler to fix bug 391687. Also remove some unneeded changes in all_ruby_prepare.
(Portage version: 2.1.10.11/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/racc')
-rw-r--r--dev-ruby/racc/ChangeLog6
-rw-r--r--dev-ruby/racc/racc-1.4.7.ebuild16
2 files changed, 14 insertions, 8 deletions
diff --git a/dev-ruby/racc/ChangeLog b/dev-ruby/racc/ChangeLog
index 764a335146b4..f46c4d11cc52 100644
--- a/dev-ruby/racc/ChangeLog
+++ b/dev-ruby/racc/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-ruby/racc
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/racc/ChangeLog,v 1.63 2011/10/20 06:09:22 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/racc/ChangeLog,v 1.64 2011/11/27 19:24:55 graaff Exp $
+
+ 27 Nov 2011; Hans de Graaff <graaff@gentoo.org> racc-1.4.7.ebuild:
+ Remove the need for rake-compiler to fix bug 391687. Also remove some
+ unneeded changes in all_ruby_prepare.
*racc-1.4.7 (20 Oct 2011)
diff --git a/dev-ruby/racc/racc-1.4.7.ebuild b/dev-ruby/racc/racc-1.4.7.ebuild
index d4d97e66e4bd..479bf478783f 100644
--- a/dev-ruby/racc/racc-1.4.7.ebuild
+++ b/dev-ruby/racc/racc-1.4.7.ebuild
@@ -1,12 +1,12 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/racc/racc-1.4.7.ebuild,v 1.1 2011/10/20 06:09:22 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/racc/racc-1.4.7.ebuild,v 1.2 2011/11/27 19:24:55 graaff Exp $
EAPI=4
USE_RUBY="ree18 ruby18 ruby19 jruby"
-RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_TASK_DOC="docs"
RUBY_FAKEGEM_EXTRADOC="README.rdoc README.ja.rdoc TODO ChangeLog"
inherit multilib ruby-fakegem
@@ -20,14 +20,16 @@ SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
IUSE=""
-ruby_add_bdepend "dev-ruby/rake"
+ruby_add_bdepend "dev-ruby/rake
+ doc? ( dev-ruby/hoe )"
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 's|/tmp/out|${TMPDIR:-/tmp}/out|' test/helper.rb || die "tests fix failed"
+
+ # Avoid depending on rake-compiler since we don't use it to compile
+ # the extension.
+ sed -i -e '/rake-compiler/ s:^:#:' -e '/extensiontask/ s:^:#:' Rakefile
+ sed -i -e '/ExtensionTask/,/^ end/ s:^:#:' Rakefile
}
each_ruby_prepare() {