From 6cb312af2bd483826c95f3404b3898c58207e93b Mon Sep 17 00:00:00 2001 From: Hummer12007 Date: Thu, 13 Apr 2017 19:28:37 +0300 Subject: [PATCH] x11-misc/redshift: do not set Python up w/ USE=-gtk Closes: https://github.com/gentoo/gentoo/pull/4416 --- x11-misc/redshift/redshift-1.11-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x11-misc/redshift/redshift-1.11-r1.ebuild b/x11-misc/redshift/redshift-1.11-r1.ebuild index d9f7e168280e..2275d41cc669 100644 --- a/x11-misc/redshift/redshift-1.11-r1.ebuild +++ b/x11-misc/redshift/redshift-1.11-r1.ebuild @@ -30,7 +30,7 @@ DEPEND="${COMMON_DEPEND} nls? ( sys-devel/gettext ) appindicator? ( dev-libs/libappindicator ) " -REQUIRED_USE="${PYTHON_REQUIRED_USE}" +REQUIRED_USE="gtk? ( ${PYTHON_REQUIRED_USE} )" src_prepare() { epatch_user @@ -38,7 +38,7 @@ src_prepare() { } src_configure() { - python_export_best + use gtk && python_setup econf \ --disable-silent-rules \ -- 2.26.2