From 9070d23f2a68b615a79681e8bcd8785c7e5e5755 Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Mon, 23 May 2022 20:51:35 +0200 Subject: [PATCH] sys-apps/sdate: Remove static lib and libtool *.la Fixes: https://bugs.gentoo.org/840637 Fixes: https://bugs.gentoo.org/840634 Signed-off-by: Haelwenn (lanodan) Monnier --- sys-apps/sdate/sdate-0.7.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/sys-apps/sdate/sdate-0.7.ebuild b/sys-apps/sdate/sdate-0.7.ebuild index b862defc39..8810cbdb1a 100644 --- a/sys-apps/sdate/sdate-0.7.ebuild +++ b/sys-apps/sdate/sdate-0.7.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021 Gentoo Authors +# Copyright 2021-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -17,3 +17,9 @@ src_prepare() { default eautoreconf } + +src_install() { + default + find "${ED}" -name '*.la' -delete || die + find "${ED}" -name '*.a' -delete || die +}