commit:     3db1b3b67ceb628afc0284dbe278366190947242
Author:     Alexandre Rostovtsev <tetromino <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 13 17:08:31 2015 +0000
Commit:     Alexandre Rostovtsev <tetromino <AT> gentoo <DOT> org>
CommitDate: Sun Sep 13 17:09:11 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3db1b3b6

net-libs/webkit-gtk: cmake syntax is -DRUBY_EXECUTABLE, not RUBY

Package-Manager: portage-2.2.20.1

 net-libs/webkit-gtk/webkit-gtk-2.6.6.ebuild | 8 ++++----
 net-libs/webkit-gtk/webkit-gtk-2.8.5.ebuild | 8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/net-libs/webkit-gtk/webkit-gtk-2.6.6.ebuild 
b/net-libs/webkit-gtk/webkit-gtk-2.6.6.ebuild
index 0f23ff9..c4d72b7 100644
--- a/net-libs/webkit-gtk/webkit-gtk-2.6.6.ebuild
+++ b/net-libs/webkit-gtk/webkit-gtk-2.6.6.ebuild
@@ -172,13 +172,13 @@ src_configure() {
        local ruby_interpreter=""
 
        if has_version "virtual/rubygems[ruby_targets_ruby22]"; then
-               ruby_interpreter="RUBY=$(type -P ruby22)"
+               ruby_interpreter="-DRUBY_EXECUTABLE=$(type -P ruby22)"
        elif has_version "virtual/rubygems[ruby_targets_ruby21]"; then
-               ruby_interpreter="RUBY=$(type -P ruby21)"
+               ruby_interpreter="-DRUBY_EXECUTABLE=$(type -P ruby21)"
        elif has_version "virtual/rubygems[ruby_targets_ruby20]"; then
-               ruby_interpreter="RUBY=$(type -P ruby20)"
+               ruby_interpreter="-DRUBY_EXECUTABLE=$(type -P ruby20)"
        else
-               ruby_interpreter="RUBY=$(type -P ruby19)"
+               ruby_interpreter="-DRUBY_EXECUTABLE=$(type -P ruby19)"
        fi
 
        # TODO: Check Web Audio support

diff --git a/net-libs/webkit-gtk/webkit-gtk-2.8.5.ebuild 
b/net-libs/webkit-gtk/webkit-gtk-2.8.5.ebuild
index ae110a9..bdd69c1 100644
--- a/net-libs/webkit-gtk/webkit-gtk-2.8.5.ebuild
+++ b/net-libs/webkit-gtk/webkit-gtk-2.8.5.ebuild
@@ -184,13 +184,13 @@ src_configure() {
        local ruby_interpreter=""
 
        if has_version "virtual/rubygems[ruby_targets_ruby22]"; then
-               ruby_interpreter="RUBY=$(type -P ruby22)"
+               ruby_interpreter="-DRUBY_EXECUTABLE=$(type -P ruby22)"
        elif has_version "virtual/rubygems[ruby_targets_ruby21]"; then
-               ruby_interpreter="RUBY=$(type -P ruby21)"
+               ruby_interpreter="-DRUBY_EXECUTABLE=$(type -P ruby21)"
        elif has_version "virtual/rubygems[ruby_targets_ruby20]"; then
-               ruby_interpreter="RUBY=$(type -P ruby20)"
+               ruby_interpreter="-DRUBY_EXECUTABLE=$(type -P ruby20)"
        else
-               ruby_interpreter="RUBY=$(type -P ruby19)"
+               ruby_interpreter="-DRUBY_EXECUTABLE=$(type -P ruby19)"
        fi
 
        # TODO: Check Web Audio support

Reply via email to