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
This commit is contained in:
Michael Palimaka
2016-03-10 18:31:11 +11:00
parent 23a05cce73
commit 01365bd01b

View 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)
)