From 9daf120c09026e9d61cfab8d2a257a3334b2cff9 Mon Sep 17 00:00:00 2001 From: Michael Palimaka Date: Thu, 27 Aug 2015 22:56:34 +1000 Subject: [PATCH] app-cdr/k3b: remove duplicate add_subdirectory. This was causing build failure with kde-base/kdelibs-4.14.11. Gentoo-bug: 558640 Package-Manager: portage-2.2.20.1 --- app-cdr/k3b/k3b-2.0.3-r2.ebuild | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app-cdr/k3b/k3b-2.0.3-r2.ebuild b/app-cdr/k3b/k3b-2.0.3-r2.ebuild index 68619e53c0a4..95a09a50641e 100644 --- a/app-cdr/k3b/k3b-2.0.3-r2.ebuild +++ b/app-cdr/k3b/k3b-2.0.3-r2.ebuild @@ -72,6 +72,13 @@ REQUIRED_USE=" sox? ( encode ) " +src_prepare() { + kde4-base_src_prepare + + # bug 558640 + sed -i -e "/^add_subdirectory( doc )/d" CMakeLists.txt || die +} + src_configure() { mycmakeargs=( -DK3B_BUILD_API_DOCS=OFF -- 2.26.2