summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHummer12007 <hilobakho@gmail.com>2017-04-13 19:28:37 +0300
committerMichał Górny <mgorny@gentoo.org>2017-04-15 09:32:47 +0200
commit6cb312af2bd483826c95f3404b3898c58207e93b (patch)
tree1ec61470c1c258faf4d32c88bc5c8c62b1159173 /x11-misc
parentprofiles: drop obsolete mpv[luajit] p.use.mask on alpha (diff)
downloadgentoo-6cb312af2bd483826c95f3404b3898c58207e93b.tar.gz
gentoo-6cb312af2bd483826c95f3404b3898c58207e93b.tar.bz2
gentoo-6cb312af2bd483826c95f3404b3898c58207e93b.zip
x11-misc/redshift: do not set Python up w/ USE=-gtk
Closes: https://github.com/gentoo/gentoo/pull/4416
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/redshift/redshift-1.11-r1.ebuild4
1 files 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 \