app-emulation/libcacard: fix test failures

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 <dev-zero@gentoo.org>
This commit is contained in:
Tiziano Müller
2018-11-23 08:51:23 +01:00
parent 678a56e615
commit 2084875d5d
@@ -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) \