Skip to content

Commit

Permalink
kde-apps/kig: fix build with USE="scripting"
Browse files Browse the repository at this point in the history
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
  • Loading branch information
kensington committed Mar 10, 2016
1 parent 23a05cc commit 01365bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kde-apps/kig/kig-4.14.3.ebuild
Original file line number Diff line number Diff line change
@@ -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$

Expand Down Expand Up @@ -36,6 +36,7 @@ src_prepare() {

src_configure() {
local mycmakeargs=(
-DPYTHON_EXECUTABLE="${PYTHON}"
$(cmake-utils_use_find_package scripting BoostPython)
)

Expand Down

0 comments on commit 01365bd

Please sign in to comment.