commit:     9070d23f2a68b615a79681e8bcd8785c7e5e5755
Author:     Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Mon May 23 18:51:35 2022 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon May 23 18:51:51 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9070d23f

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 <contact <AT> hacktivis.me>

 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 b862defc3..8810cbdb1 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
+}

Reply via email to