From: Andreas Sturmlechner Date: Thu, 30 Apr 2020 15:09:24 +0000 (+0200) Subject: kde-apps/kio-extras: Avoid unused cmake var warning if IUSE="-samba" X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=deb932fa27b2d912717d530cadcdb560f7e7c90d;p=gentoo.git 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 --- 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 }