summaryrefslogtreecommitdiff
path: root/kde-frameworks/khtml/khtml-5.97.0.ebuild
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-08-08 13:52:08 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2022-08-08 16:21:42 +0200
commit6dca8d3182b5525fdf03da321014d3068b0f6de4 (patch)
tree8449d08fde7ecf914a7ed59993ffb49ada996e3b /kde-frameworks/khtml/khtml-5.97.0.ebuild
parent7b8668037e825d91cdae33d52ce1bfff954e0f52 (diff)
downloadkde-6dca8d3182b5525fdf03da321014d3068b0f6de4.tar.gz
kde-6dca8d3182b5525fdf03da321014d3068b0f6de4.tar.bz2
kde-6dca8d3182b5525fdf03da321014d3068b0f6de4.zip
kde-frameworks/khtml: Fix build with USE -X
Upstream commit 9712a641636bf9b794e1ce3b7ec00534de56faa1 Bug: https://bugs.gentoo.org/813450 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-frameworks/khtml/khtml-5.97.0.ebuild')
-rw-r--r--kde-frameworks/khtml/khtml-5.97.0.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/kde-frameworks/khtml/khtml-5.97.0.ebuild b/kde-frameworks/khtml/khtml-5.97.0.ebuild
index fa15c5abcc0..401fdf99db3 100644
--- a/kde-frameworks/khtml/khtml-5.97.0.ebuild
+++ b/kde-frameworks/khtml/khtml-5.97.0.ebuild
@@ -40,7 +40,7 @@ RDEPEND="
=kde-frameworks/ktextwidgets-${PVCUT}*:5
=kde-frameworks/kwallet-${PVCUT}*:5
=kde-frameworks/kwidgetsaddons-${PVCUT}*:5
- =kde-frameworks/kwindowsystem-${PVCUT}*:5
+ =kde-frameworks/kwindowsystem-${PVCUT}*:5[X?]
=kde-frameworks/kxmlgui-${PVCUT}*:5
=kde-frameworks/sonnet-${PVCUT}*:5
media-libs/giflib:=
@@ -62,9 +62,11 @@ BDEPEND="
dev-util/gperf
"
+PATCHES=( "${FILESDIR}/${PN}-5.96.0-with_x11.patch" )
+
src_configure() {
local mycmakeargs=(
- $(cmake_use_find_package X X11)
+ -DWITH_X11=$(usex X)
)
ecm_src_configure