app-cdr/k3b: remove duplicate add_subdirectory.
authorMichael Palimaka <kensington@gentoo.org>
Thu, 27 Aug 2015 12:56:34 +0000 (22:56 +1000)
committerMichael Palimaka <kensington@gentoo.org>
Thu, 27 Aug 2015 12:57:45 +0000 (22:57 +1000)
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

index 68619e53c0a4b0346de0aafd7de7deb4d36daeab..95a09a50641e168e95c255a293ab5cc375faa283 100644 (file)
@@ -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