commit:     7504f685666d460181bc5f7c782858a7b65ab1b5
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 30 20:08:51 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Jun 30 20:47:31 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7504f685

app-office/kexi: Fix cmake warning

Closes: https://bugs.gentoo.org/659644
Package-Manager: Portage-2.3.41, Repoman-2.3.9

 app-office/kexi/kexi-3.1.0.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/app-office/kexi/kexi-3.1.0.ebuild 
b/app-office/kexi/kexi-3.1.0.ebuild
index 8074480ced6..16241347eb8 100644
--- a/app-office/kexi/kexi-3.1.0.ebuild
+++ b/app-office/kexi/kexi-3.1.0.ebuild
@@ -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
 }

Reply via email to