commit:     c7544305494b7aa3b795fed05d5650bbb88ccfb7
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Wed Sep 12 09:45:59 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Sep 12 10:09:45 2018 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=c7544305

kde-apps/kldap: use "use" instead of use_if_iuse

Closes: https://github.com/gentoo/kde/pull/869

 kde-apps/kldap/kldap-18.08.49.9999.ebuild | 2 +-
 kde-apps/kldap/kldap-9999.ebuild          | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/kde-apps/kldap/kldap-18.08.49.9999.ebuild 
b/kde-apps/kldap/kldap-18.08.49.9999.ebuild
index fcd0e4065e..f516ad9ff5 100644
--- a/kde-apps/kldap/kldap-18.08.49.9999.ebuild
+++ b/kde-apps/kldap/kldap-18.08.49.9999.ebuild
@@ -29,7 +29,7 @@ RDEPEND="${DEPEND}
 src_prepare() {
        kde5_src_prepare
 
-       if ! use_if_iuse handbook ; then
+       if ! use handbook ; then
                sed -e "/add_subdirectory(doc)/I s/^/#DONOTCOMPILE /" \
                        -i kioslave/CMakeLists.txt || die "failed to comment 
add_subdirectory(doc)"
        fi

diff --git a/kde-apps/kldap/kldap-9999.ebuild b/kde-apps/kldap/kldap-9999.ebuild
index fcd0e4065e..f516ad9ff5 100644
--- a/kde-apps/kldap/kldap-9999.ebuild
+++ b/kde-apps/kldap/kldap-9999.ebuild
@@ -29,7 +29,7 @@ RDEPEND="${DEPEND}
 src_prepare() {
        kde5_src_prepare
 
-       if ! use_if_iuse handbook ; then
+       if ! use handbook ; then
                sed -e "/add_subdirectory(doc)/I s/^/#DONOTCOMPILE /" \
                        -i kioslave/CMakeLists.txt || die "failed to comment 
add_subdirectory(doc)"
        fi

Reply via email to