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 9EE0D15808B for ; Sat, 28 Sep 2024 14:43:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EA8FEE2AB4; Sat, 28 Sep 2024 14:43:41 +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 CF88AE2AB4 for ; Sat, 28 Sep 2024 14:43:41 +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 F247B343175 for ; Sat, 28 Sep 2024 14:43:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 621D6ACC for ; Sat, 28 Sep 2024 14:43:39 +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: <1727534586.bf702b6cee0133e094b50378336326b6bff4926b.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/nlopt/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/nlopt/nlopt-2.7.1-r100.ebuild X-VCS-Directories: sci-libs/nlopt/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: bf702b6cee0133e094b50378336326b6bff4926b X-VCS-Branch: master Date: Sat, 28 Sep 2024 14:43:39 +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: c009f3f8-77a1-4d57-b7e8-e8de76b0fb78 X-Archives-Hash: 78dfd115ec06d6170a2f8f6a05bfc3ea commit: bf702b6cee0133e094b50378336326b6bff4926b Author: Sam James gentoo org> AuthorDate: Sat Sep 28 14:41:53 2024 +0000 Commit: Sam James gentoo org> CommitDate: Sat Sep 28 14:43:06 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf702b6c sci-libs/nlopt: fix pkg_setup w/ USE=-guile Like in 20c679298cd29c57dba3dce93339b0a1780284e5. This seems to be the only other such case in-tree. Note that fortran-2_pkg_setup is fine to call unconditionally because it checks itself if it should be used if FORTRAN_OPTIONAL is set. Bug: https://bugs.gentoo.org/940441 Fixes: 01f1676c357e17cfde5abb0ccca96766e69bbe6f Signed-off-by: Sam James gentoo.org> sci-libs/nlopt/nlopt-2.7.1-r100.ebuild | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sci-libs/nlopt/nlopt-2.7.1-r100.ebuild b/sci-libs/nlopt/nlopt-2.7.1-r100.ebuild index 55bc5573894b..385cdb5a674d 100644 --- a/sci-libs/nlopt/nlopt-2.7.1-r100.ebuild +++ b/sci-libs/nlopt/nlopt-2.7.1-r100.ebuild @@ -31,6 +31,11 @@ RDEPEND=" DEPEND="${RDEPEND}" BDEPEND="python? ( dev-lang/swig )" +pkg_setup() { + use guile && guile-single_pkg_setup + fortran-2_pkg_setup +} + src_prepare() { cmake_src_prepare