From 8600971440ca101445b80a7fb012a87de53d41f0 Mon Sep 17 00:00:00 2001 From: Davide Pesavento Date: Sat, 22 Aug 2015 05:10:26 +0200 Subject: [PATCH] dev-qt/qtscript: reintroduce USE=jit for Qt5. Gentoo-Bug: 556032 Package-Manager: portage-2.2.20.1 --- .../{qtscript-5.4.2.ebuild => qtscript-5.4.2-r1.ebuild} | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) rename dev-qt/qtscript/{qtscript-5.4.2.ebuild => qtscript-5.4.2-r1.ebuild} (80%) diff --git a/dev-qt/qtscript/qtscript-5.4.2.ebuild b/dev-qt/qtscript/qtscript-5.4.2-r1.ebuild similarity index 80% rename from dev-qt/qtscript/qtscript-5.4.2.ebuild rename to dev-qt/qtscript/qtscript-5.4.2-r1.ebuild index a0aa0dc6d66b..da131f067662 100644 --- a/dev-qt/qtscript/qtscript-5.4.2.ebuild +++ b/dev-qt/qtscript/qtscript-5.4.2-r1.ebuild @@ -11,7 +11,7 @@ if [[ ${QT5_BUILD_TYPE} == release ]]; then KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~x86" fi -IUSE="scripttools" +IUSE="+jit scripttools" DEPEND=" >=dev-qt/qtcore-${PV}:5 @@ -28,3 +28,10 @@ src_prepare() { qt5-build_src_prepare } + +src_configure() { + local myqmakeargs=( + $(usex jit '' JAVASCRIPTCORE_JIT=no) + ) + qt5-build_src_configure +} -- 2.26.2