1 |
commit: 2084875d5ddd01a0efb61a5d18aff9bb049ff6d5 |
2 |
Author: Tiziano Müller <dev-zero <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 23 07:49:56 2018 +0000 |
4 |
Commit: Tiziano Müller <dev-zero <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 23 07:51:23 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2084875d |
7 |
|
8 |
app-emulation/libcacard: fix test failures |
9 |
|
10 |
by reducing the test suite for now to avoid pulling in SoftHSMv2 |
11 |
|
12 |
Closes: https://bugs.gentoo.org/663704 |
13 |
Package-Manager: Portage-2.3.52, Repoman-2.3.12 |
14 |
Signed-off-by: Tiziano Müller <dev-zero <AT> gentoo.org> |
15 |
|
16 |
app-emulation/libcacard/libcacard-2.6.0.ebuild | 9 +++++++++ |
17 |
1 file changed, 9 insertions(+) |
18 |
|
19 |
diff --git a/app-emulation/libcacard/libcacard-2.6.0.ebuild b/app-emulation/libcacard/libcacard-2.6.0.ebuild |
20 |
index 22750df56b3..39e02adda5a 100644 |
21 |
--- a/app-emulation/libcacard/libcacard-2.6.0.ebuild |
22 |
+++ b/app-emulation/libcacard/libcacard-2.6.0.ebuild |
23 |
@@ -18,6 +18,15 @@ RDEPEND=">=dev-libs/nss-3.13 |
24 |
DEPEND="${RDEPEND} |
25 |
virtual/pkgconfig" |
26 |
|
27 |
+src_prepare() { |
28 |
+ default |
29 |
+ |
30 |
+ # remove test requiring SoftHSMv2 which is not in the tree atm |
31 |
+ sed -i \ |
32 |
+ -e 's|tests/hwtests$(EXEEXT) \($(am__EXEEXT_1)\)|\1|' \ |
33 |
+ Makefile.in || die |
34 |
+} |
35 |
+ |
36 |
src_configure() { |
37 |
econf \ |
38 |
$(use_enable passthrough pcsc) \ |