Only call 'python-single-r1_pkg_setup' if USE="python" is set, since
without supported Python targets, things will go bad even if
USE="-python" is being used.
Closes: https://bugs.gentoo.org/667896
Signed-off-by: Jimi Huotari <chiitoo@gentoo.org>
Package-Manager: Portage-2.3.50, Repoman-2.3.11
Closes: https://github.com/gentoo/gentoo/pull/10109
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
CMAKE_REMOVE_MODULES_LIST=( FindFreetype )
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
+}
+
src_configure() {
local libdir=$(get_libdir)
local mycmakeargs=(
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
CMAKE_REMOVE_MODULES_LIST=( FindFreetype )
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
+}
+
src_configure() {
local libdir=$(get_libdir)
local mycmakeargs=(
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
CMAKE_REMOVE_MODULES_LIST=( FindFreetype )
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
+}
+
src_configure() {
local libdir=$(get_libdir)
local mycmakeargs=(