summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-12-22 07:18:06 +0100
committerHans de Graaff <graaff@gentoo.org>2019-12-22 07:18:06 +0100
commit175dbb8748ceb17cd517506ae7abe3e95bfb69ce (patch)
treeb8bf8ab6c82828b521cb891f8e6afc365a724529 /dev-ruby/racc
parentnet-p2p/cpuminer-opt: 3.10.5 version bump (diff)
downloadgentoo-175dbb8748ceb17cd517506ae7abe3e95bfb69ce.tar.gz
gentoo-175dbb8748ceb17cd517506ae7abe3e95bfb69ce.tar.bz2
gentoo-175dbb8748ceb17cd517506ae7abe3e95bfb69ce.zip
dev-ruby/racc: fix parser-text installation
We now use upstream git where this file is not pre-packaged. Closes: https://bugs.gentoo.org/703416 Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/racc')
-rw-r--r--dev-ruby/racc/racc-1.4.16-r1.ebuild (renamed from dev-ruby/racc/racc-1.4.16.ebuild)5
1 files changed, 2 insertions, 3 deletions
diff --git a/dev-ruby/racc/racc-1.4.16.ebuild b/dev-ruby/racc/racc-1.4.16-r1.ebuild
index 8f4985f2343d..36ea4bf0529f 100644
--- a/dev-ruby/racc/racc-1.4.16.ebuild
+++ b/dev-ruby/racc/racc-1.4.16-r1.ebuild
@@ -32,12 +32,11 @@ all_ruby_prepare() {
# the extension.
sed -i -e '/rake-compiler/ s:^:#:' -e '/extensiontask/ s:^:#:' Rakefile
sed -i -e '/ExtensionTask/,/^ end/ s:^:#:' Rakefile
+ # Which means we need to generate the parser file here
+ rake lib/racc/parser-text.rb || die
# Avoid isolation since dependencies are not properly declared.
sed -i -e 's/, :isolate//' Rakefile || die
-
- # Fix version number in regress files
- sed -i -e 's/1.4.14/1.4.15/' test/regress/* || die
}
each_ruby_prepare() {