diff options
author | Michael Palimaka <kensington@gentoo.org> | 2018-03-28 21:11:37 +1100 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2018-03-28 21:12:50 +1100 |
commit | 2d6b8d1db600161635360f3814d82d7822914076 (patch) | |
tree | 50bd7041cd1e6459dc4dc2f817d1cb98870b375e /kde-apps/kross-interpreters | |
parent | dev-util/lldb: Allow dev-python/swig >= 3.0.11 in 5+ (diff) | |
download | gentoo-2d6b8d1db600161635360f3814d82d7822914076.tar.gz gentoo-2d6b8d1db600161635360f3814d82d7822914076.tar.bz2 gentoo-2d6b8d1db600161635360f3814d82d7822914076.zip |
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
Diffstat (limited to 'kde-apps/kross-interpreters')
-rw-r--r-- | kde-apps/kross-interpreters/kross-interpreters-17.12.3.ebuild | 5 |
1 files changed, 5 insertions, 0 deletions
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 f1f7ac570239..0ef8019aaf2d 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) |