commit: 0f2e12f7aa02ef63b84cfc748d851a9044e55b76
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 17 00:39:28 2024 +0000
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Mon Jan 22 11:29:25 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f2e12f7
sci-mathematics/gap: use a bash array for econf args
Suggested-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>
sci-mathematics/gap/gap-4.12.2-r3.ebuild | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/sci-mathematics/gap/gap-4.12.2-r3.ebuild
b/sci-mathematics/gap/gap-4.12.2-r3.ebuild
index 2ccaded522a5..d44da14dfd8a 100644
--- a/sci-mathematics/gap/gap-4.12.2-r3.ebuild
+++ b/sci-mathematics/gap/gap-4.12.2-r3.ebuild
@@ -97,15 +97,17 @@ src_prepare() {
src_configure() {
# We unset $ABI because GAP uses it internally for something else.
# --without-gmp and --without-zlib both trigger an AC_MSG_ERROR
- econf \
- ABI="" \
- --with-gmp \
- --with-zlib \
- $(use_enable cpu_flags_x86_popcnt popcnt) \
- $(use_enable memcheck memory-checking) \
- $(use_enable valgrind) \
- $(use_with readline) \
+ local myeconfargs=(
+ ABI=""
+ --with-gmp
+ --with-zlib
+ $(use_enable cpu_flags_x86_popcnt popcnt)
+ $(use_enable memcheck memory-checking)
+ $(use_enable valgrind)
+ $(use_with readline)
$(use_enable debug)
+ )
+ econf "${myeconfargs[@]}"
}
src_compile() {