Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/btf/
Date: Tue, 30 Mar 2021 10:12:13
Message-Id: 1617099113.d23ad8c40a3f96a1da26b525a254ee540a76473c.soap@gentoo
1 commit: d23ad8c40a3f96a1da26b525a254ee540a76473c
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Tue Mar 30 10:11:53 2021 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 30 10:11:53 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d23ad8c4
7
8 sci-libs/btf: Disable static libraries
9
10 Package-Manager: Portage-3.0.18, Repoman-3.0.3
11 Signed-off-by: David Seifert <soap <AT> gentoo.org>
12
13 sci-libs/btf/btf-1.2.6.ebuild | 13 +++++++++----
14 1 file changed, 9 insertions(+), 4 deletions(-)
15
16 diff --git a/sci-libs/btf/btf-1.2.6.ebuild b/sci-libs/btf/btf-1.2.6.ebuild
17 index 66bd6a7db7b..2398cf4d63b 100644
18 --- a/sci-libs/btf/btf-1.2.6.ebuild
19 +++ b/sci-libs/btf/btf-1.2.6.ebuild
20 @@ -9,14 +9,19 @@ SRC_URI="http://202.36.178.9/sage/${P}.tar.bz2"
21
22 LICENSE="LGPL-2.1+"
23 SLOT="0"
24 -
25 KEYWORDS="amd64 ~arm arm64 ~hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
26 -IUSE="static-libs"
27
28 -BDEPEND="virtual/pkgconfig"
29 DEPEND="sci-libs/suitesparseconfig"
30 RDEPEND="${DEPEND}"
31 +BDEPEND="virtual/pkgconfig"
32
33 src_configure() {
34 - econf $(use_enable static-libs static)
35 + econf --disable-static
36 +}
37 +
38 +src_install() {
39 + default
40 +
41 + # no static archives
42 + find "${ED}" -name '*.la' -delete || die
43 }