diff options
author | Jakov Smolic <jakov.smolic@sartura.hr> | 2020-10-02 22:25:12 +0200 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2020-10-07 00:30:09 +0000 |
commit | 7cb47b8b259e386f5113ecdc3d4cf0bc7318e464 (patch) | |
tree | 5e616d7f7d80de81a0ba5e7c8c021c7b9fd3981b /dev-libs/npth | |
parent | net-misc/seafile-client: drop old (diff) | |
download | gentoo-7cb47b8b259e386f5113ecdc3d4cf0bc7318e464.tar.gz gentoo-7cb47b8b259e386f5113ecdc3d4cf0bc7318e464.tar.bz2 gentoo-7cb47b8b259e386f5113ecdc3d4cf0bc7318e464.zip |
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 <jakov.smolic@sartura.hr>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/npth')
-rw-r--r-- | dev-libs/npth/npth-1.6-r1.ebuild | 13 |
1 files changed, 3 insertions, 10 deletions
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 } |