diff options
author | 2024-07-03 20:53:19 -0400 | |
---|---|---|
committer | 2024-07-03 20:56:33 -0400 | |
commit | 91f85d49318e528dfc57948ebae0ba3c13fe5787 (patch) | |
tree | 74121f8c2dc2f4fb70a5bf1f2f53d43fa75ea632 /dev-build | |
parent | net-analyzer/fail2ban: fix openssh-9.8 compat (diff) | |
download | gentoo-91f85d49318e528dfc57948ebae0ba3c13fe5787.tar.gz gentoo-91f85d49318e528dfc57948ebae0ba3c13fe5787.tar.bz2 gentoo-91f85d49318e528dfc57948ebae0ba3c13fe5787.zip |
dev-build/ninja: fix whitspace handling in configure args
An unquoted command substitution will be split on IFS.
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'dev-build')
-rw-r--r-- | dev-build/ninja/ninja-1.12.1.ebuild | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/dev-build/ninja/ninja-1.12.1.ebuild b/dev-build/ninja/ninja-1.12.1.ebuild index 1d8f3d0a0b09..db74a6448e70 100644 --- a/dev-build/ninja/ninja-1.12.1.ebuild +++ b/dev-build/ninja/ninja-1.12.1.ebuild @@ -66,14 +66,17 @@ bootstrap() { local -x LDFLAGS=${BUILD_LDFLAGS} fi - local bootstrap_args=( + local args=( --with-python=python --bootstrap --verbose - $(usev test --gtest-source-dir="${WORKDIR}"/googletest-${GTEST_VER}) ) - edo ${EPYTHON} configure.py "${bootstrap_args[@]}" + if use test; then + args+=( --gtest-source-dir="${WORKDIR}"/googletest-${GTEST_VER} ) + fi + + edo ${EPYTHON} configure.py "${args[@]}" } src_compile() { |