From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1593314-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 7F79215838C
	for <garchives@archives.gentoo.org>; Mon, 22 Jan 2024 11:29:46 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 5B45B2BC01B;
	Mon, 22 Jan 2024 11:29:40 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 3E0F32BC01B
	for <gentoo-commits@lists.gentoo.org>; Mon, 22 Jan 2024 11:29:40 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 472F4343295
	for <gentoo-commits@lists.gentoo.org>; Mon, 22 Jan 2024 11:29:39 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 5D8D614B6
	for <gentoo-commits@lists.gentoo.org>; Mon, 22 Jan 2024 11:29:36 +0000 (UTC)
From: "Michael Orlitzky" <mjo@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Michael Orlitzky" <mjo@gentoo.org>
Message-ID: <1705922965.0f2e12f7aa02ef63b84cfc748d851a9044e55b76.mjo@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/gap/
X-VCS-Repository: repo/gentoo
X-VCS-Files: sci-mathematics/gap/gap-4.12.2-r3.ebuild
X-VCS-Directories: sci-mathematics/gap/
X-VCS-Committer: mjo
X-VCS-Committer-Name: Michael Orlitzky
X-VCS-Revision: 0f2e12f7aa02ef63b84cfc748d851a9044e55b76
X-VCS-Branch: master
Date: Mon, 22 Jan 2024 11:29:36 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 44edf0ff-b23a-4bfb-9098-3bf0f1ac43a2
X-Archives-Hash: 0446984a569aac3dd3c2ff4aa757293f

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