Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/npth/
Date: Wed, 07 Oct 2020 00:31:08
Message-Id: 1602030609.7cb47b8b259e386f5113ecdc3d4cf0bc7318e464.sam@gentoo
1 commit: 7cb47b8b259e386f5113ecdc3d4cf0bc7318e464
2 Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
3 AuthorDate: Fri Oct 2 20:25:12 2020 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 7 00:30:09 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cb47b8b
7
8 dev-libs/npth: tidy up ebuild
9
10 - inherit autotools eclass
11 - unconditionally remove static libs
12 - drop redundant manual deletion of .la files
13
14 Package-Manager: Portage-3.0.4, Repoman-3.0.1
15 Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
16 Signed-off-by: Sam James <sam <AT> gentoo.org>
17
18 dev-libs/npth/npth-1.6-r1.ebuild | 13 +++----------
19 1 file changed, 3 insertions(+), 10 deletions(-)
20
21 diff --git a/dev-libs/npth/npth-1.6-r1.ebuild b/dev-libs/npth/npth-1.6-r1.ebuild
22 index 6ba87239e32..00b6f615b49 100644
23 --- a/dev-libs/npth/npth-1.6-r1.ebuild
24 +++ b/dev-libs/npth/npth-1.6-r1.ebuild
25 @@ -3,7 +3,7 @@
26
27 EAPI=7
28
29 -inherit libtool
30 +inherit autotools
31
32 DESCRIPTION="New GNU Portable Threads Library"
33 HOMEPAGE="https://git.gnupg.org/cgi-bin/gitweb.cgi?p=npth.git"
34 @@ -12,19 +12,12 @@ SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2"
35 LICENSE="LGPL-2.1+"
36 SLOT="0"
37 KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
38 -IUSE="static-libs"
39
40 src_prepare() {
41 default
42 - elibtoolize # for Solaris shared library
43 + eautoreconf
44 }
45
46 src_configure() {
47 - econf \
48 - $(use_enable static-libs static)
49 -}
50 -
51 -src_install() {
52 - default
53 - find "${D}" -name '*.la' -delete || die
54 + econf --disable-static
55 }