mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-01 23:28:08 -07:00
dev-cpp/benchmark: do not require any PYTHON_SINGLE_TARGET without tools
We only perform the python-single-r1 dance when `use tools`, and
similarly in RDEPEND via USE-conditional dependencies. But REQUIRED_USE
was unconditionally done, when it too should have been guarded by the
USE flag.
Present since the initial implementation of python tool support.
Fixes: 6f8ef24af3
Bug: https://bugs.gentoo.org/938237
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
This commit is contained in:
@@ -15,7 +15,7 @@ SLOT="0/$(ver_cut 1)"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~x86"
|
||||
IUSE="doc +exceptions libcxx libpfm lto test +tools"
|
||||
RESTRICT="!test? ( test )"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
REQUIRED_USE="tools? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
DEPEND="
|
||||
libcxx? ( sys-libs/libcxx[${MULTILIB_USEDEP}] )
|
||||
|
||||
Reference in New Issue
Block a user