From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 D437E158086 for ; Fri, 29 Oct 2021 19:00:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2ABBFE0877; Fri, 29 Oct 2021 19:00:47 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 121B4E0877 for ; Fri, 29 Oct 2021 19:00:47 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DFAA7342F5E for ; Fri, 29 Oct 2021 19:00:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 597D8144 for ; Fri, 29 Oct 2021 19:00:44 +0000 (UTC) From: "Anthony G. Basile" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anthony G. Basile" Message-ID: <1635534040.045e9fcbb0f3cbc277ecfb1ebe59d8ad1332bc62.blueness@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/ipv6calc/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/ipv6calc/ipv6calc-4.0.0-r1.ebuild X-VCS-Directories: net-misc/ipv6calc/ X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile X-VCS-Revision: 045e9fcbb0f3cbc277ecfb1ebe59d8ad1332bc62 X-VCS-Branch: master Date: Fri, 29 Oct 2021 19:00:44 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: baf2528f-e550-4690-90a1-13c09c493e75 X-Archives-Hash: d7c778846de8a8a8fcfea6d278edbb42 commit: 045e9fcbb0f3cbc277ecfb1ebe59d8ad1332bc62 Author: Anthony G. Basile gentoo org> AuthorDate: Fri Oct 29 19:00:13 2021 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Fri Oct 29 19:00:40 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=045e9fcb net-misc/ipv6calc: convert econf args to a bash array Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Anthony G. Basile gentoo.org> net-misc/ipv6calc/ipv6calc-4.0.0-r1.ebuild | 39 ++++++++++++++++-------------- 1 file changed, 21 insertions(+), 18 deletions(-) diff --git a/net-misc/ipv6calc/ipv6calc-4.0.0-r1.ebuild b/net-misc/ipv6calc/ipv6calc-4.0.0-r1.ebuild index 9b30664564c..a5d7e8e70ae 100644 --- a/net-misc/ipv6calc/ipv6calc-4.0.0-r1.ebuild +++ b/net-misc/ipv6calc/ipv6calc-4.0.0-r1.ebuild @@ -30,26 +30,29 @@ src_configure() { # okay because we want then force enabled. # --disable-db-as-registry # --disable-db-cc-registry + local myeconfargs=( + --disable-bundled-getopt + --disable-bundled-md5 + --enable-shared + --enable-dynamic-load + --enable-db-ieee + --enable-db-ipv4 + --enable-db-ipv6 + --disable-dbip + --disable-dbip2 + --disable-external + --disable-ip2location + --enable-openssl-evp-md5 + --enable-openssl-md5 + $(use_enable geoip) + $(use_enable cgi mod_ipv6calc ) + ) + if use geoip; then - myconf=$(use_enable geoip) - myconf+=" --with-geoip-db=${EPREFIX}/usr/share/GeoIP" + myeconfargs+=( "--with-geoip-db=${EPREFIX}/usr/share/GeoIP" ) fi - econf \ - --disable-bundled-getopt \ - --disable-bundled-md5 \ - --enable-shared \ - --enable-dynamic-load \ - --enable-db-ieee \ - --enable-db-ipv4 \ - --enable-db-ipv6 \ - --disable-dbip \ - --disable-dbip2 \ - --disable-external \ - --disable-ip2location \ - --enable-openssl-evp-md5 \ - --enable-openssl-md5 \ - $(use_enable cgi mod_ipv6calc ) \ - ${myconf} + + econf "${myeconfargs[@]}" } src_compile() {