diff options
author | Michał Górny <mgorny@gentoo.org> | 2017-02-19 14:01:05 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2017-02-19 14:03:52 +0100 |
commit | 8d2a47de598f6f5cbec558c0ecec51ae45a526e5 (patch) | |
tree | 5ee995bf3f2f5a8f461bca39c99b095f436d579d /eclass | |
parent | dev-haskell/x11: don't persist LDFLAGS into package db, bug #609624 (diff) | |
download | gentoo-8d2a47de598f6f5cbec558c0ecec51ae45a526e5.tar.gz gentoo-8d2a47de598f6f5cbec558c0ecec51ae45a526e5.tar.bz2 gentoo-8d2a47de598f6f5cbec558c0ecec51ae45a526e5.zip |
python-single-r1.eclass: Always output use-cond in PYTHON_DEPS
Output a USE conditional in PYTHON_DEPS even when using only a single
target. While this does not make a strict difference since the target
flag is in REQUIRED_USE anyway, it results in more unified output
and makes it easier to catch mistakes if someone plays with the eclass
in the future.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/python-single-r1.eclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/python-single-r1.eclass b/eclass/python-single-r1.eclass index db08cab1e85c..0f319d2a2323 100644 --- a/eclass/python-single-r1.eclass +++ b/eclass/python-single-r1.eclass @@ -197,7 +197,7 @@ _python_single_set_globals() { # variables without PYTHON_SINGLE_TARGET. PYTHON_REQUIRED_USE="${flags_mt[*]}" python_export "${_PYTHON_SUPPORTED_IMPLS[0]}" PYTHON_PKG_DEP - PYTHON_DEPS="${PYTHON_PKG_DEP} " + PYTHON_DEPS="${flags_mt[*]}? ( ${PYTHON_PKG_DEP} ) " # Force on the python_single_target_* flag for this impl, so # that any dependencies that inherit python-single-r1 and # happen to have multiple implementations will still need |