diff options
| author | Johannes Huber <johu@gentoo.org> | 2016-05-21 00:34:33 +0200 |
|---|---|---|
| committer | Johannes Huber <johu@gentoo.org> | 2016-05-21 00:34:46 +0200 |
| commit | 63053c6e40c13cfdf7196434eae3d4efb17042f3 (patch) | |
| tree | 9266d34a292a50842f473f8c8e6612420ea8f7bf | |
| parent | 183e96bd765c095b35c15f4a1ede832805befbdd (diff) | |
| download | kde-63053c6e40c13cfdf7196434eae3d4efb17042f3.tar.gz kde-63053c6e40c13cfdf7196434eae3d4efb17042f3.tar.bz2 kde-63053c6e40c13cfdf7196434eae3d4efb17042f3.zip | |
kde-apps/kldap: Fix build with USE -handbook
Package-Manager: portage-2.3.0_rc1
| -rw-r--r-- | kde-apps/kldap/kldap-9999.ebuild | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/kde-apps/kldap/kldap-9999.ebuild b/kde-apps/kldap/kldap-9999.ebuild index 7178ccb9b47..37f154f43cd 100644 --- a/kde-apps/kldap/kldap-9999.ebuild +++ b/kde-apps/kldap/kldap-9999.ebuild @@ -30,9 +30,19 @@ RDEPEND="${DEPEND} !<kde-apps/kdepim-kioslaves-16.04.50 " +src_prepare() { + kde5_src_prepare + + if ! use_if_iuse handbook ; then + sed -e "/add_subdirectory(docs)/I s/^/#DONOTCOMPILE /" \ + -i kioslave/CMakeLists.txt || die "failed to comment add_subdirectory(docs)" + fi +} + src_configure() { local mycmakeargs=( $(cmake-utils_use_find_package ssl Sasl2) ) + kde5_src_configure } |
