kde-apps/libkgeomap: QA: Fix unused CMake variable
authorAndreas Sturmlechner <asturm@gentoo.org>
Sat, 9 Mar 2019 21:32:16 +0000 (22:32 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sat, 9 Mar 2019 21:34:29 +0000 (22:34 +0100)
Closes: https://bugs.gentoo.org/679846
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
kde-apps/libkgeomap/libkgeomap-18.12.3.ebuild

index adcef4fad981b1f46d81236fafc016a223d9e9ba..cb77c098f1b0881118640165e9ee3ee3a3404aa8 100644 (file)
@@ -29,9 +29,7 @@ DEPEND="
 RDEPEND="${DEPEND}"
 
 src_configure() {
-       local mycmakeargs=(
-               -DCMAKE_DISABLE_FIND_PACKAGE_KF5KExiv2=true
-       )
+       use test && local mycmakeargs=( -DCMAKE_DISABLE_FIND_PACKAGE_KF5KExiv2=true )
 
        kde5_src_configure
 }