commit: 4672163358ac5fdff3470273352a892cc13d3934 Author: Sv. Lockal <lockalsash <AT> gmail <DOT> com> AuthorDate: Mon Dec 25 16:57:40 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Jan 4 00:05:55 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46721633
sys-process/lsof: do not install libtool .la files Closes: https://bugs.gentoo.org/920370 Signed-off-by: Sv. Lockal <lockalsash <AT> gmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> sys-process/lsof/lsof-4.99.0.ebuild | 5 +++++ sys-process/lsof/lsof-4.99.3.ebuild | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/sys-process/lsof/lsof-4.99.0.ebuild b/sys-process/lsof/lsof-4.99.0.ebuild index c94a98abca1d..d1dba0173182 100644 --- a/sys-process/lsof/lsof-4.99.0.ebuild +++ b/sys-process/lsof/lsof-4.99.0.ebuild @@ -39,6 +39,11 @@ src_compile() { emake DEBUG="" all } +src_install() { + default + find "${ED}" -name '*.la' -delete || die +} + pkg_postinst() { if [[ ${CHOST} == *-solaris* ]] ; then einfo "Note: to use lsof on Solaris you need read permissions on" diff --git a/sys-process/lsof/lsof-4.99.3.ebuild b/sys-process/lsof/lsof-4.99.3.ebuild index 9965531bc30b..c22f1df517e3 100644 --- a/sys-process/lsof/lsof-4.99.3.ebuild +++ b/sys-process/lsof/lsof-4.99.3.ebuild @@ -39,6 +39,11 @@ src_compile() { emake DEBUG="" all } +src_install() { + default + find "${ED}" -name '*.la' -delete || die +} + pkg_postinst() { if [[ ${CHOST} == *-solaris* ]] ; then einfo "Note: to use lsof on Solaris you need read permissions on"