summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-11-27 14:39:13 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2022-08-06 09:44:07 +0200
commitd4bedf3b05b25d89a0bf4b6293ac87eeb296ce38 (patch)
treeeec66fb2ffd875579cf2a35c53ecde353365d18a /kde-apps/konqueror/konqueror-22.04.3.ebuild
parentkde-apps/kalarm: Fix build with USE -X (diff)
downloadgentoo-d4bedf3b05b25d89a0bf4b6293ac87eeb296ce38.tar.gz
gentoo-d4bedf3b05b25d89a0bf4b6293ac87eeb296ce38.tar.bz2
gentoo-d4bedf3b05b25d89a0bf4b6293ac87eeb296ce38.zip
kde-apps/konqueror: Fix build with USE -X
Upstream commit ff0e19961f8345faea54e4f85057312b7ad7007d Bug: https://bugs.gentoo.org/813450 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/konqueror/konqueror-22.04.3.ebuild')
-rw-r--r--kde-apps/konqueror/konqueror-22.04.3.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/kde-apps/konqueror/konqueror-22.04.3.ebuild b/kde-apps/konqueror/konqueror-22.04.3.ebuild
index 6d69ff80806c..05c5705662e8 100644
--- a/kde-apps/konqueror/konqueror-22.04.3.ebuild
+++ b/kde-apps/konqueror/konqueror-22.04.3.ebuild
@@ -63,6 +63,8 @@ RDEPEND="${COMMON_DEPEND}
kde-plasma/kde-cli-tools:5
"
+PATCHES=( "${FILESDIR}/${P}-with_x11.patch" )
+
src_prepare() {
[[ ${CHOST} == *-solaris* ]] && append-ldflags -lmalloc
@@ -74,7 +76,7 @@ src_configure() {
-DCMAKE_DISABLE_FIND_PACKAGE_Hunspell=ON # requires fixing bug 634122
$(cmake_use_find_package activities KF5Activities)
$(cmake_use_find_package speech Qt5TextToSpeech)
- $(cmake_use_find_package X X11)
+ -DWITH_X11=$(usex X)
)
ecm_src_configure
}