From deb932fa27b2d912717d530cadcdb560f7e7c90d Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Thu, 30 Apr 2020 17:09:24 +0200 Subject: [PATCH] kde-apps/kio-extras: Avoid unused cmake var warning if IUSE="-samba" Closes: https://bugs.gentoo.org/719842 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Andreas Sturmlechner --- kde-apps/kio-extras/kio-extras-20.04.0.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kde-apps/kio-extras/kio-extras-20.04.0.ebuild b/kde-apps/kio-extras/kio-extras-20.04.0.ebuild index f3bc9e5be920..5d806627fd8c 100644 --- a/kde-apps/kio-extras/kio-extras-20.04.0.ebuild +++ b/kde-apps/kio-extras/kio-extras-20.04.0.ebuild @@ -75,7 +75,6 @@ RESTRICT+=" test" src_configure() { local mycmakeargs=( - -DBUILD_KDSoapWSDiscoveryClient=OFF # disable bundled stuff $(cmake_use_find_package activities KF5Activities) $(cmake_use_find_package activities KF5ActivitiesStats) $(cmake_use_find_package man Gperf) @@ -88,6 +87,9 @@ src_configure() { $(cmake_use_find_package taglib Taglib) $(cmake_use_find_package X X11) ) + use samba && mycmakeargs+=( + -DBUILD_KDSoapWSDiscoveryClient=OFF # disable bundled stuff + ) ecm_src_configure } -- 2.26.2