diff options
author | Rick Farina <zerochaos@gentoo.org> | 2019-11-06 13:11:39 -0500 |
---|---|---|
committer | Rick Farina <zerochaos@gentoo.org> | 2019-11-06 13:11:52 -0500 |
commit | f1eca8c7222e5b3e20e694402d2cc92674f76160 (patch) | |
tree | f2660b63b37e2521199ed2cb8d56721fc1abab5c /dev-ruby/rjb/rjb-1.6.1.ebuild | |
parent | media-libs/mesa: Version bump to 19.3.0_rc2 (diff) | |
download | gentoo-f1eca8c7222e5b3e20e694402d2cc92674f76160.tar.gz gentoo-f1eca8c7222e5b3e20e694402d2cc92674f76160.tar.bz2 gentoo-f1eca8c7222e5b3e20e694402d2cc92674f76160.zip |
dev-ruby/rjb: fix build on openjdk-11
while not breaking it on icedtea-8
Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Rick Farina <zerochaos@gentoo.org>
Diffstat (limited to 'dev-ruby/rjb/rjb-1.6.1.ebuild')
-rw-r--r-- | dev-ruby/rjb/rjb-1.6.1.ebuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dev-ruby/rjb/rjb-1.6.1.ebuild b/dev-ruby/rjb/rjb-1.6.1.ebuild index b8cfe20bb7cf..0c68f9ccbae4 100644 --- a/dev-ruby/rjb/rjb-1.6.1.ebuild +++ b/dev-ruby/rjb/rjb-1.6.1.ebuild @@ -35,6 +35,9 @@ all_ruby_prepare() { # Avoid encoding tests since not all locales may be available. sed -i -e '/test_kjconv/,/^ end/ s:^:#:' test/test.rb || die + + # Fix build on openjdk-11 + sed -i -e 's#javah -classpath ../data/rjb jp.co.infoseek.hp.arton.rjb.RBridge#javac -h . -classpath ../data/rjb RBridge.java#g' ext/extconf.rb || die } each_ruby_prepare() { |