diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-08-10 03:31:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-08-10 03:31:29 +0100 |
commit | d8e832445899a9a8ba4d8dc6f61f5feca79a3b85 (patch) | |
tree | 33fe51856cef055b3394a9e5bdc1af7ace655a70 /sci-libs/openlibm/openlibm-0.8.0.ebuild | |
parent | 8e5dcbcd9c97dcecc17992eff0e8d01e5c83ade2 (diff) |
gentoo auto-resync : 10:08:2023 - 03:31:29
Diffstat (limited to 'sci-libs/openlibm/openlibm-0.8.0.ebuild')
-rw-r--r-- | sci-libs/openlibm/openlibm-0.8.0.ebuild | 10 |
1 files 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() { |