From: Andreas Sturmlechner Date: Thu, 6 Feb 2020 22:23:24 +0000 (+0100) Subject: net-im/choqok: Temporary fix for USE !share X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=2243f67b0fab9e5c84b40c38dcb8d49ea7d48c4a;p=gentoo.git net-im/choqok: Temporary fix for USE !share Closes: https://bugs.gentoo.org/708464 Package-Manager: Portage-2.3.87, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner --- diff --git a/net-im/choqok/choqok-1.7.0.ebuild b/net-im/choqok/choqok-1.7.0.ebuild index b610393b434a..a6a4bf140c46 100644 --- a/net-im/choqok/choqok-1.7.0.ebuild +++ b/net-im/choqok/choqok-1.7.0.ebuild @@ -48,9 +48,9 @@ DEPEND=" >=kde-frameworks/sonnet-${KFMIN}:5 attica? ( >=kde-frameworks/attica-${KFMIN}:5 ) konqueror? ( + >=dev-qt/qtwebkit-5.212.0_pre20180120:5 >=kde-frameworks/kparts-${KFMIN}:5 >=kde-frameworks/kdewebkit-${KFMIN}:5 - >=dev-qt/qtwebkit-5.212.0_pre20180120:5 ) share? ( >=kde-frameworks/purpose-${KFMIN}:5 ) telepathy? ( net-libs/telepathy-qt[qt5(+)] ) @@ -59,6 +59,12 @@ RDEPEND="${DEPEND}" DOCS=( AUTHORS README changelog ) +src_prepare() { + ecm_src_prepare + # TODO: quick fix for bug #708464 + sed -e "/find_package.*Purpose)/s/ COMPONENTS //" -i CMakeLists.txt || die +} + src_configure() { local mycmakeargs=( $(cmake_use_find_package attica KF5Attica)