public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/openlibm/
Date: Wed,  9 Aug 2023 20:43:38 +0000 (UTC)	[thread overview]
Message-ID: <1691613802.83c21c4aa868798e09be47c810f0478329c6dd1b.sam@gentoo> (raw)

commit:     83c21c4aa868798e09be47c810f0478329c6dd1b
Author:     Alfred Persson Forsberg <cat <AT> catcream <DOT> org>
AuthorDate: Thu Aug  3 00:00:31 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> 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 <cat <AT> catcream.org>
Closes: https://github.com/gentoo/gentoo/pull/32151
Signed-off-by: Sam James <sam <AT> 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() {


             reply	other threads:[~2023-08-09 20:43 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-09 20:43 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-05 12:15 [gentoo-commits] repo/gentoo:master commit in: sci-libs/openlibm/ WANG Xuerui
2024-11-10 13:37 Sam James
2024-11-10  6:40 Arthur Zamarin
2024-11-10  6:40 Arthur Zamarin
2024-11-09 17:04 Sam James
2024-11-09 17:04 Sam James
2024-08-23 13:00 Arthur Zamarin
2024-08-12 12:48 Arthur Zamarin
2024-08-05 10:47 Jakov Smolić
2024-08-04 22:38 Jakov Smolić
2024-08-04 22:34 Jakov Smolić
2024-08-04  3:16 Sam James
2024-08-04  3:16 Sam James
2024-08-03 11:23 Arthur Zamarin
2021-10-12  9:10 Jakov Smolić
2021-06-05 16:22 David Seifert
2021-05-27 21:06 David Seifert
2021-02-14 10:36 David Seifert
2021-02-05  4:20 Sam James
2021-01-24 13:49 David Seifert
2021-01-24 13:49 David Seifert
2020-10-27 23:23 Sam James
2020-10-27 23:23 Sam James
2020-04-03  3:20 Matthias Maier
2017-04-22 16:03 Justin Lecher
2017-04-22 16:03 Justin Lecher
2017-03-23  0:17 Matthias Maier
2017-03-23  0:17 Matthias Maier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1691613802.83c21c4aa868798e09be47c810f0478329c6dd1b.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox