sci-mathematics/gap: use a bash array for econf args

Suggested-by: Michael Mair-Keimberger <mmk@levelnine.at>
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
This commit is contained in:
Michael Orlitzky
2024-01-16 19:39:28 -05:00
parent 2e8b5aabf7
commit 0f2e12f7aa

View File

@@ -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() {