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 9B8901581C1 for ; Wed, 3 Jul 2024 21:25:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5D8B4E2ABA; Wed, 3 Jul 2024 21:25:20 +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 10CA0E2AB5 for ; Wed, 3 Jul 2024 21:25:20 +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 29A0733DD21 for ; Wed, 3 Jul 2024 21:25:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BD8231DBE for ; Wed, 3 Jul 2024 21:25:17 +0000 (UTC) From: "Eli Schwartz" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Eli Schwartz" Message-ID: <1720041898.204e818da24baa0bc4a04a8e22d7eb29ffed59e4.eschwartz@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/pmix/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-cluster/pmix/pmix-5.0.2.ebuild X-VCS-Directories: sys-cluster/pmix/ X-VCS-Committer: eschwartz X-VCS-Committer-Name: Eli Schwartz X-VCS-Revision: 204e818da24baa0bc4a04a8e22d7eb29ffed59e4 X-VCS-Branch: master Date: Wed, 3 Jul 2024 21:25:17 +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: f59eb090-8ae4-4a98-85fb-94578f8c12cf X-Archives-Hash: 2d929a985fd891efed7dc3c34bed625d commit: 204e818da24baa0bc4a04a8e22d7eb29ffed59e4 Author: Eli Schwartz gmail com> AuthorDate: Mon Jul 1 01:37:08 2024 +0000 Commit: Eli Schwartz gentoo org> CommitDate: Wed Jul 3 21:24:58 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=204e818d sys-cluster/pmix: enforce the choice of event library pmix can be built with either libevent or libev, and we need to depend on the correct one. We depend on libevent. If, somehow, the configure check is broken, it will "happily" attempt to automagically build against libev instead, with varying degrees of success. Make sure it knows which one it MUST pick. Also update to use modern econf passing style with a local array, so that comments are supported! Closes: https://bugs.gentoo.org/884883 Signed-off-by: Eli Schwartz gmail.com> Signed-off-by: Eli Schwartz gentoo.org> sys-cluster/pmix/pmix-5.0.2.ebuild | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/sys-cluster/pmix/pmix-5.0.2.ebuild b/sys-cluster/pmix/pmix-5.0.2.ebuild index f7d88d473b4c..204dcf878bff 100644 --- a/sys-cluster/pmix/pmix-5.0.2.ebuild +++ b/sys-cluster/pmix/pmix-5.0.2.ebuild @@ -35,9 +35,17 @@ src_configure() { # https://github.com/openpmix/openpmix/issues/3350 filter-lto - econf \ - $(use_enable debug) \ + local myeconfargs=( + # These are alternatives. We must use the one in DEPEND, and also + # prevent automagic fallbacks. + --with-libevent + --without-libev + + $(use_enable debug) $(use_with munge) + ) + + econf "${myeconfargs[@]}" } src_install() {