1 |
commit: 54d685adca7f9fcd7ae071e767089a3f8c8f4f68 |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 19 10:08:43 2020 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 19 18:16:35 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54d685ad |
7 |
|
8 |
net-libs/webkit-gtk: fix ruby check for cross-compilation |
9 |
|
10 |
Package-Manager: Portage-2.3.79, Repoman-2.3.12 |
11 |
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org> |
12 |
|
13 |
net-libs/webkit-gtk/webkit-gtk-2.26.2.ebuild | 2 +- |
14 |
1 file changed, 1 insertion(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/net-libs/webkit-gtk/webkit-gtk-2.26.2.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.26.2.ebuild |
17 |
index b2ae6bf0f10..d8e82634b06 100644 |
18 |
--- a/net-libs/webkit-gtk/webkit-gtk-2.26.2.ebuild |
19 |
+++ b/net-libs/webkit-gtk/webkit-gtk-2.26.2.ebuild |
20 |
@@ -203,7 +203,7 @@ src_configure() { |
21 |
local rubyimpl |
22 |
local ruby_interpreter="" |
23 |
for rubyimpl in ${USE_RUBY}; do |
24 |
- if has_version "virtual/rubygems[ruby_targets_${rubyimpl}]"; then |
25 |
+ if has_version --host-root "virtual/rubygems[ruby_targets_${rubyimpl}]"; then |
26 |
ruby_interpreter="-DRUBY_EXECUTABLE=$(type -P ${rubyimpl})" |
27 |
fi |
28 |
done |