commit:     2d6b8d1db600161635360f3814d82d7822914076
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 28 10:11:37 2018 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Wed Mar 28 10:12:50 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d6b8d1d

kde-apps/kross-interpreters: avoid build failure with USE="-python" when 
python2 is not installed

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 kde-apps/kross-interpreters/kross-interpreters-17.12.3.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/kde-apps/kross-interpreters/kross-interpreters-17.12.3.ebuild 
b/kde-apps/kross-interpreters/kross-interpreters-17.12.3.ebuild
index f1f7ac57023..0ef8019aaf2 100644
--- a/kde-apps/kross-interpreters/kross-interpreters-17.12.3.ebuild
+++ b/kde-apps/kross-interpreters/kross-interpreters-17.12.3.ebuild
@@ -27,6 +27,11 @@ pkg_setup() {
        kde5_pkg_setup
 }
 
+src_prepare() {
+       sed -i -e "/find_package(PythonLibs/s/REQUIRED//" CMakeLists.txt || die
+       kde5_src_prepare
+}
+
 src_configure() {
        local mycmakeargs=(
                -DBUILD_python=$(usex python)

Reply via email to