From 2084875d5ddd01a0efb61a5d18aff9bb049ff6d5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tiziano=20M=C3=BCller?= Date: Fri, 23 Nov 2018 08:49:56 +0100 Subject: [PATCH] app-emulation/libcacard: fix test failures MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit by reducing the test suite for now to avoid pulling in SoftHSMv2 Closes: https://bugs.gentoo.org/663704 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Tiziano Müller --- app-emulation/libcacard/libcacard-2.6.0.ebuild | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/app-emulation/libcacard/libcacard-2.6.0.ebuild b/app-emulation/libcacard/libcacard-2.6.0.ebuild index 22750df56b3f..39e02adda5a7 100644 --- a/app-emulation/libcacard/libcacard-2.6.0.ebuild +++ b/app-emulation/libcacard/libcacard-2.6.0.ebuild @@ -18,6 +18,15 @@ RDEPEND=">=dev-libs/nss-3.13 DEPEND="${RDEPEND} virtual/pkgconfig" +src_prepare() { + default + + # remove test requiring SoftHSMv2 which is not in the tree atm + sed -i \ + -e 's|tests/hwtests$(EXEEXT) \($(am__EXEEXT_1)\)|\1|' \ + Makefile.in || die +} + src_configure() { econf \ $(use_enable passthrough pcsc) \ -- 2.26.2