summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2019-01-14 12:07:20 +0300
committerAlexey Shvetsov <alexxy@gentoo.org>2019-01-14 12:07:20 +0300
commit8661ebebb868d061842495889307c22f10698921 (patch)
tree5c81a94e8e5c5dc10e5a9f3b4812d739af273928 /dev-qt/qtwebkit
parentdev-lang/swi-prolog: remove old development versions (diff)
downloadgentoo-8661ebebb868d061842495889307c22f10698921.tar.gz
gentoo-8661ebebb868d061842495889307c22f10698921.tar.bz2
gentoo-8661ebebb868d061842495889307c22f10698921.zip
dev-qt/qtwebkit: works with ruby26
Closes: https://bugs.gentoo.org/674572 Package-Manager: Portage-2.3.55, Repoman-2.3.12 Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>
Diffstat (limited to 'dev-qt/qtwebkit')
-rw-r--r--dev-qt/qtwebkit/qtwebkit-5.212.0_pre20180120.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/dev-qt/qtwebkit/qtwebkit-5.212.0_pre20180120.ebuild b/dev-qt/qtwebkit/qtwebkit-5.212.0_pre20180120.ebuild
index d520d1f87ea0..49f0ae2bc990 100644
--- a/dev-qt/qtwebkit/qtwebkit-5.212.0_pre20180120.ebuild
+++ b/dev-qt/qtwebkit/qtwebkit-5.212.0_pre20180120.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -6,7 +6,7 @@ EAPI=6
COMMIT=72cfbd7664f21fcc0e62b869a6b01bf73eb5e7da
CMAKE_MAKEFILE_GENERATOR="ninja"
PYTHON_COMPAT=( python2_7 )
-USE_RUBY="ruby23 ruby24 ruby25"
+USE_RUBY="ruby23 ruby24 ruby25 ruby26"
inherit check-reqs cmake-utils flag-o-matic python-any-r1 qmake-utils ruby-single toolchain-funcs
@@ -125,7 +125,9 @@ src_configure() {
-DENABLE_X11_TARGET=$(usex X)
)
- if has_version "virtual/rubygems[ruby_targets_ruby25]"; then
+ if has_version "virtual/rubygems[ruby_targets_ruby26]"; then
+ mycmakeargs+=( -DRUBY_EXECUTABLE=$(type -P ruby26) )
+ elif has_version "virtual/rubygems[ruby_targets_ruby25]"; then
mycmakeargs+=( -DRUBY_EXECUTABLE=$(type -P ruby25) )
elif has_version "virtual/rubygems[ruby_targets_ruby24]"; then
mycmakeargs+=( -DRUBY_EXECUTABLE=$(type -P ruby24) )