From 7cb47b8b259e386f5113ecdc3d4cf0bc7318e464 Mon Sep 17 00:00:00 2001 From: Jakov Smolic Date: Fri, 2 Oct 2020 22:25:12 +0200 Subject: dev-libs/npth: tidy up ebuild - inherit autotools eclass - unconditionally remove static libs - drop redundant manual deletion of .la files Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Jakov Smolic Signed-off-by: Sam James --- dev-libs/npth/npth-1.6-r1.ebuild | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'dev-libs/npth') diff --git a/dev-libs/npth/npth-1.6-r1.ebuild b/dev-libs/npth/npth-1.6-r1.ebuild index 6ba87239e32c..00b6f615b496 100644 --- a/dev-libs/npth/npth-1.6-r1.ebuild +++ b/dev-libs/npth/npth-1.6-r1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit libtool +inherit autotools DESCRIPTION="New GNU Portable Threads Library" HOMEPAGE="https://git.gnupg.org/cgi-bin/gitweb.cgi?p=npth.git" @@ -12,19 +12,12 @@ SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2" LICENSE="LGPL-2.1+" SLOT="0" 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" -IUSE="static-libs" src_prepare() { default - elibtoolize # for Solaris shared library + eautoreconf } src_configure() { - econf \ - $(use_enable static-libs static) -} - -src_install() { - default - find "${D}" -name '*.la' -delete || die + econf --disable-static } -- cgit v1.2.3-65-gdbad