kde-apps/kig: fix build with USE="scripting"
authorMichael Palimaka <kensington@gentoo.org>
Thu, 10 Mar 2016 07:31:11 +0000 (18:31 +1100)
committerMichael Palimaka <kensington@gentoo.org>
Thu, 10 Mar 2016 07:47:15 +0000 (18:47 +1100)
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

index 2ea7c9c172ad01a84d69d894361f24da627e8a2a..39c1b445e30ad6bd45b9bc1d1e1631823b0bbb31 100644 (file)
@@ -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)
        )