From be520ec49a1eae6936b31810a5ad710e462cd0e5 Mon Sep 17 00:00:00 2001 From: Jakov Smolic Date: Sat, 14 Nov 2020 21:17:41 +0100 Subject: [PATCH] app-i18n/scim-m17n: disable static libs Closes: https://bugs.gentoo.org/734282 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Jakov Smolic Signed-off-by: David Seifert --- app-i18n/scim-m17n/scim-m17n-0.2.3.ebuild | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/app-i18n/scim-m17n/scim-m17n-0.2.3.ebuild b/app-i18n/scim-m17n/scim-m17n-0.2.3.ebuild index 87039f7d14aa9..6fb3a51c366fe 100644 --- a/app-i18n/scim-m17n/scim-m17n-0.2.3.ebuild +++ b/app-i18n/scim-m17n/scim-m17n-0.2.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -17,6 +17,15 @@ RDEPEND=">=app-i18n/scim-1.4 DEPEND="${RDEPEND} virtual/pkgconfig" +src_configure() { + econf --disable-static +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +} + pkg_postinst() { elog elog "To use SCIM with both GTK2 and XIM, you should use the following"