kde-apps/kio-extras: Avoid unused cmake var warning if IUSE="-samba"
authorAndreas Sturmlechner <asturm@gentoo.org>
Thu, 30 Apr 2020 15:09:24 +0000 (17:09 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Thu, 30 Apr 2020 15:10:08 +0000 (17:10 +0200)
Closes: https://bugs.gentoo.org/719842
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
kde-apps/kio-extras/kio-extras-20.04.0.ebuild

index f3bc9e5be920a1f3db6bb85b08efde6b889569ac..5d806627fd8c45d3e17e3e97b255412808129a33 100644 (file)
@@ -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
 }