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 1A8CA15ACFC for ; Mon, 1 May 2023 15:00:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E20E6E0867; Mon, 1 May 2023 15:00:21 +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 755D1E0863 for ; Mon, 1 May 2023 15:00:21 +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 D31F2341508 for ; Mon, 1 May 2023 15:00:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 35C6FA4F for ; Mon, 1 May 2023 15:00:18 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1682953063.c7a86346e477c6c205fd840eee87a514a9d7212e.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libconfig/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libconfig/libconfig-1.7.3.ebuild X-VCS-Directories: dev-libs/libconfig/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: c7a86346e477c6c205fd840eee87a514a9d7212e X-VCS-Branch: master Date: Mon, 1 May 2023 15:00:18 +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: 28df839c-8713-45bf-81a4-7f88c881d657 X-Archives-Hash: b1d8d16ca50c76a40333abc1509ed0f9 commit: c7a86346e477c6c205fd840eee87a514a9d7212e Author: Sam James gentoo org> AuthorDate: Mon May 1 14:57:43 2023 +0000 Commit: Sam James gentoo org> CommitDate: Mon May 1 14:57:43 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7a86346 dev-libs/libconfig: conditionally build tests Signed-off-by: Sam James gentoo.org> dev-libs/libconfig/libconfig-1.7.3.ebuild | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/dev-libs/libconfig/libconfig-1.7.3.ebuild b/dev-libs/libconfig/libconfig-1.7.3.ebuild index 8efd8925734c..12eef715344b 100644 --- a/dev-libs/libconfig/libconfig-1.7.3.ebuild +++ b/dev-libs/libconfig/libconfig-1.7.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -15,7 +15,8 @@ SRC_URI="https://github.com/hyperrealm/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.g LICENSE="LGPL-2.1" SLOT="0/11" KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~loong ~m68k ~mips ppc ~ppc64 ~riscv ~s390 sparc x86 ~x86-linux" -IUSE="+cxx static-libs" +IUSE="+cxx static-libs test" +RESTRICT="!test? ( test )" DEPEND=" sys-apps/texinfo @@ -33,10 +34,14 @@ src_prepare() { } multilib_src_configure() { - econf \ - $(use_enable cxx) \ - $(use_enable static-libs static) \ + local myeconfargs=( + $(use_enable cxx) + $(use_enable static-libs static) + $(use_enable test tests) --disable-examples + ) + + econf "${myeconfargs[@]}" } multilib_src_test() {