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 857E115800A for ; Wed, 9 Aug 2023 20:43:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AFE4D2BC022; Wed, 9 Aug 2023 20:43:41 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 8CE612BC01D for ; Wed, 9 Aug 2023 20: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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 91DE033FEF1 for ; Wed, 9 Aug 2023 20:43:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B75F0F35 for ; Wed, 9 Aug 2023 20:43:38 +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: <1691613802.83c21c4aa868798e09be47c810f0478329c6dd1b.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/openlibm/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/openlibm/openlibm-0.8.0.ebuild X-VCS-Directories: sci-libs/openlibm/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 83c21c4aa868798e09be47c810f0478329c6dd1b X-VCS-Branch: master Date: Wed, 9 Aug 2023 20:43:38 +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: 8ce06ffe-af4c-4429-b8c2-be94c4abe0c8 X-Archives-Hash: e04b1c33895f1c76710db6392379a152 commit: 83c21c4aa868798e09be47c810f0478329c6dd1b Author: Alfred Persson Forsberg catcream org> AuthorDate: Thu Aug 3 00:00:31 2023 +0000 Commit: Sam James gentoo org> CommitDate: Wed Aug 9 20:43:22 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83c21c4a sci-libs/openlibm: add USE=static-libs USE=static-libs is currently required for llvm-libc. Signed-off-by: Alfred Persson Forsberg catcream.org> Closes: https://github.com/gentoo/gentoo/pull/32151 Signed-off-by: Sam James gentoo.org> sci-libs/openlibm/openlibm-0.8.0.ebuild | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/sci-libs/openlibm/openlibm-0.8.0.ebuild b/sci-libs/openlibm/openlibm-0.8.0.ebuild index ba45cbd625fb..3d2362897851 100644 --- a/sci-libs/openlibm/openlibm-0.8.0.ebuild +++ b/sci-libs/openlibm/openlibm-0.8.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -9,6 +9,7 @@ DESCRIPTION="High quality system independent, open source libm" HOMEPAGE="https://github.com/JuliaLang/openlibm" SRC_URI="https://github.com/JuliaMath/openlibm/archive/v${PV}.tar.gz -> ${P}.tar.gz" +IUSE="static-libs" LICENSE="public-domain MIT ISC BSD-2 LGPL-2.1+" # See https://abi-laboratory.pro/index.php?view=timeline&l=openlibm SLOT="0/4" @@ -16,9 +17,10 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" src_prepare() { default - sed -e "/^OLM_LIBS :=/s/^/#/" \ - -e "/install: /s/install-static//" \ - -i Makefile || die + sed -e "/^OLM_LIBS :=/s/^/#/" -i Makefile || die + if ! use static-libs ; then + sed -e "/install: /s/install-static//" -i Makefile || die + fi } src_configure() {