commit:     fa4fea29aa42305eed7874cad12bcb3d27d2f26a
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Feb  2 19:46:13 2022 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Feb  2 19:48:02 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa4fea29

kde-frameworks/kdnssd: Fix unused cmake var noise w/ IUSE=zeroconf

Bug: https://bugs.gentoo.org/832509
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 kde-frameworks/kdnssd/kdnssd-5.90.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kde-frameworks/kdnssd/kdnssd-5.90.0.ebuild 
b/kde-frameworks/kdnssd/kdnssd-5.90.0.ebuild
index 30e03494697b..25d5598e2244 100644
--- a/kde-frameworks/kdnssd/kdnssd-5.90.0.ebuild
+++ b/kde-frameworks/kdnssd/kdnssd-5.90.0.ebuild
@@ -25,9 +25,9 @@ RDEPEND="${DEPEND}"
 
 src_configure() {
        local mycmakeargs=(
-               -DCMAKE_DISABLE_FIND_PACKAGE_DNSSD=ON
                $(cmake_use_find_package zeroconf Avahi)
        )
+       use zeroconf || mycmakeargs+=( -DCMAKE_DISABLE_FIND_PACKAGE_DNSSD=ON )
 
        ecm_src_configure
 }

Reply via email to