commit:     01365bd01b1ac0dc8da6dfdc9f40f45c9eaf7792
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 10 07:31:11 2016 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Thu Mar 10 07:47:15 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01365bd0

kde-apps/kig: fix build with USE="scripting"

If not already set, cmake's FindBoost.cmake sets PYTHON_EXECUTABLE to "python".
This causes FindPythonLibs.cmake to fail as it expects a full path.

Gentoo-bug: 576932

Package-Manager: portage-2.2.27

 kde-apps/kig/kig-4.14.3.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/kde-apps/kig/kig-4.14.3.ebuild b/kde-apps/kig/kig-4.14.3.ebuild
index 2ea7c9c..39c1b44 100644
--- a/kde-apps/kig/kig-4.14.3.ebuild
+++ b/kde-apps/kig/kig-4.14.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -36,6 +36,7 @@ src_prepare() {
 
 src_configure() {
        local mycmakeargs=(
+               -DPYTHON_EXECUTABLE="${PYTHON}"
                $(cmake-utils_use_find_package scripting BoostPython)
        )
 

Reply via email to