commit:     a4debe00677055ca79bb9996f0b8425dc6e782f9
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 13 15:50:03 2015 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Fri Nov 13 16:29:40 2015 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=a4debe00

kde-frameworks/kservice: add configure option so man USE flag actually does 
something

Package-Manager: portage-2.2.24

 kde-frameworks/kservice/kservice-5.16.0.ebuild | 10 +++++++++-
 kde-frameworks/kservice/kservice-9999.ebuild   | 10 +++++++++-
 2 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/kde-frameworks/kservice/kservice-5.16.0.ebuild 
b/kde-frameworks/kservice/kservice-5.16.0.ebuild
index e9d51cb..3dab53b 100644
--- a/kde-frameworks/kservice/kservice-5.16.0.ebuild
+++ b/kde-frameworks/kservice/kservice-5.16.0.ebuild
@@ -9,7 +9,7 @@ inherit kde5
 DESCRIPTION="Advanced plugin and service introspection"
 LICENSE="LGPL-2 LGPL-2.1+"
 KEYWORDS=" ~amd64 ~x86"
-IUSE="man"
+IUSE="+man"
 
 RDEPEND="
        $(add_frameworks_dep kconfig)
@@ -27,3 +27,11 @@ DEPEND="${RDEPEND}
 
 # requires running kde environment
 RESTRICT="test"
+
+src_configure() {
+       local mycmakeargs=(
+               $(cmake-utils_use_find_package man KF5DocTools)
+       )
+
+       kde5_src_configure
+}

diff --git a/kde-frameworks/kservice/kservice-9999.ebuild 
b/kde-frameworks/kservice/kservice-9999.ebuild
index 205ed2f..c7fad56 100644
--- a/kde-frameworks/kservice/kservice-9999.ebuild
+++ b/kde-frameworks/kservice/kservice-9999.ebuild
@@ -9,7 +9,7 @@ inherit kde5
 DESCRIPTION="Advanced plugin and service introspection"
 LICENSE="LGPL-2 LGPL-2.1+"
 KEYWORDS=""
-IUSE="man"
+IUSE="+man"
 
 RDEPEND="
        $(add_frameworks_dep kconfig)
@@ -27,3 +27,11 @@ DEPEND="${RDEPEND}
 
 # requires running kde environment
 RESTRICT="test"
+
+src_configure() {
+       local mycmakeargs=(
+               $(cmake-utils_use_find_package man KF5DocTools)
+       )
+
+       kde5_src_configure
+}

Reply via email to