dev-python/pyside: 6.10.1 handle empty NINJAOPTS

Do not pass a separator to pythons split to handle empty strings or extra
whitespace correctly.

Closes: https://bugs.gentoo.org/967989
Fixes: 23e0f39f78
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/45170
Closes: https://github.com/gentoo/gentoo/pull/45170
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Paul Zander
2025-12-26 22:05:16 +01:00
committed by Sam James
parent 42e9704774
commit 9586188784

View File

@@ -13,7 +13,7 @@ index cdaa439ff..3e088961e 100644
- if OPTION["JOBS"]:
- cmd_make.append(OPTION["JOBS"])
+ if self.make_generator == "Ninja":
+ cmd_make.extend(os.getenv("NINJAOPTS").split(' '))
+ cmd_make.extend(os.getenv("NINJAOPTS").split())
if OPTION["LOG_LEVEL"] == LogLevel.VERBOSE and self.make_generator == "Ninja":
cmd_make.append("-v")
if run_process(cmd_make) != 0: