app-office/kexi: Fix cmake warning
authorAndreas Sturmlechner <asturm@gentoo.org>
Sat, 30 Jun 2018 20:08:51 +0000 (22:08 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sat, 30 Jun 2018 20:47:31 +0000 (22:47 +0200)
Closes: https://bugs.gentoo.org/659644
Package-Manager: Portage-2.3.41, Repoman-2.3.9

app-office/kexi/kexi-3.1.0.ebuild

index 8074480ced66735adedbf30acdf30e22174be280..16241347eb8903b8d2dbd35991ea07ef3de4dc95 100644 (file)
@@ -76,7 +76,6 @@ src_prepare() {
 src_configure() {
        local mycmakeargs=(
                -DKEXI_MIGRATEMANAGER_DEBUG=$(usex debug)
-               -DKEXI_SCRIPTING_DEBUG=$(usex debug)
                -DKEXI_AUTORISE_TABBED_TOOLBAR=$(usex experimental)
                -DKEXI_SCRIPTS_SUPPORT=$(usex experimental)
                $(cmake-utils_use_find_package marble KexiMarble)
@@ -84,5 +83,7 @@ src_configure() {
                $(cmake-utils_use_find_package mysql MySQL)
                $(cmake-utils_use_find_package postgres PostgreSQL)
        )
+       use experimental && mycmakeargs+=( -DKEXI_SCRIPTING_DEBUG=$(usex debug) )
+
        kde5_src_configure
 }