From: Alexandre Rostovtsev Date: Sun, 13 Sep 2015 17:08:31 +0000 (-0400) Subject: net-libs/webkit-gtk: cmake syntax is -DRUBY_EXECUTABLE, not RUBY X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3db1b3b67ceb628afc0284dbe278366190947242;p=gentoo.git net-libs/webkit-gtk: cmake syntax is -DRUBY_EXECUTABLE, not RUBY Package-Manager: portage-2.2.20.1 --- 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 0f23ff9e944f..c4d72b73f93d 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 ae110a9df265..bdd69c138218 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