From f671d917fbb8728607e2af5b57e3506493928b8b Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Thu, 16 Jul 2020 12:05:09 +0200 Subject: sys-apps/kbd: Synced live ebuild Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Lars Wendler --- sys-apps/kbd/kbd-9999.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/sys-apps/kbd/kbd-9999.ebuild b/sys-apps/kbd/kbd-9999.ebuild index 32395a108a73..3cb9fb4edd0d 100644 --- a/sys-apps/kbd/kbd-9999.ebuild +++ b/sys-apps/kbd/kbd-9999.ebuild @@ -26,7 +26,9 @@ HOMEPAGE="http://kbd-project.org/" LICENSE="GPL-2" SLOT="0" IUSE="nls pam test" -RESTRICT="!test? ( test )" +#RESTRICT="!test? ( test )" +# Upstream has strange assumptions how to run tests (see bug #732868) +RESTRICT="test" RDEPEND=" app-arch/gzip @@ -65,6 +67,8 @@ src_prepare() { src_configure() { local myeconfargs=( + # USE="test" installs .a files + --disable-static $(use_enable nls) $(use_enable pam vlock) $(use_enable test tests) @@ -77,4 +81,7 @@ src_install() { docinto html dodoc docs/doc/*.html use pam && pamd_mimic_system vlock auth account + + # USE="test" installs .la files + find "${ED}" -type f -name "*.la" -delete || die } -- cgit v1.2.3-65-gdbad