commit:     d1fa17006ae0d5074018a4c6d2095fd13d7a629a
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 13 20:41:02 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Mar 13 20:41:02 2018 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=d1fa1700

dev-util/kdevelop: Fix configure w/ USE=-reviewboard

Reported-by: Petross404
Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-util/kdevelop/kdevelop-5.2.9999.ebuild | 4 +++-
 dev-util/kdevelop/kdevelop-9999.ebuild     | 2 ++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/dev-util/kdevelop/kdevelop-5.2.9999.ebuild 
b/dev-util/kdevelop/kdevelop-5.2.9999.ebuild
index 562140de97..3f7481a10f 100644
--- a/dev-util/kdevelop/kdevelop-5.2.9999.ebuild
+++ b/dev-util/kdevelop/kdevelop-5.2.9999.ebuild
@@ -107,12 +107,14 @@ src_configure() {
                $(cmake-utils_use_find_package plasma KF5Plasma)
                $(cmake-utils_use_find_package okteta OktetaKastenControllers)
                $(cmake-utils_use_find_package qmake KDevelop-PG-Qt)
-               $(cmake-utils_use_find_package reviewboard 
KDEExperimentalPurpose)
+               $(cmake-utils_use_find_package reviewboard KF5Purpose)
                $(cmake-utils_use_find_package subversion SubversionLibrary)
                $(cmake-utils_use_find_package !webkit Qt5WebEngineWidgets)
                $(cmake-utils_use_find_package welcomepage Qt5QuickWidgets)
        )
 
+       use reviewboard || mycmakeargs+=( 
-DCMAKE_DISABLE_FIND_PACKAGE_KDEExperimentalPurpose=ON )
+
        kde5_src_configure
 }
 

diff --git a/dev-util/kdevelop/kdevelop-9999.ebuild 
b/dev-util/kdevelop/kdevelop-9999.ebuild
index f0dc585bfd..02dcff588d 100644
--- a/dev-util/kdevelop/kdevelop-9999.ebuild
+++ b/dev-util/kdevelop/kdevelop-9999.ebuild
@@ -111,6 +111,8 @@ src_configure() {
                $(cmake-utils_use_find_package welcomepage Qt5QuickWidgets)
        )
 
+       use reviewboard || mycmakeargs+=( 
-DCMAKE_DISABLE_FIND_PACKAGE_KDEExperimentalPurpose=ON )
+
        kde5_src_configure
 }
 

Reply via email to