mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-16 14:29:05 -07:00
dev-libs/newt: fix python optionality
- we can't call python_foreach_impl if all targets are unset, which is permitted if python is optional - somehow I switched back to calling with EPYTHON instead of versions, this was plainly wrong - $(use_with) *must* be additionally quoted if withval itself is quoted and contains spaces, or we lose the spaces again Closes: https://bugs.gentoo.org/955709 Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
This commit is contained in:
@@ -66,10 +66,10 @@ src_configure() {
|
||||
getversions() {
|
||||
versions+="${EPYTHON} "
|
||||
}
|
||||
python_foreach_impl getversions
|
||||
use python && python_foreach_impl getversions
|
||||
|
||||
econf \
|
||||
$(use_with python '' "${EPYTHON}") \
|
||||
"$(use_with python '' "${versions}")" \
|
||||
$(use_with gpm gpm-support) \
|
||||
$(use_with tcl) \
|
||||
$(use_enable nls)
|
||||
|
||||
Reference in New Issue
Block a user