This allows to run prepare stage successfully, cmocka is found now, but
compile stage fails with opensc 0.19.0 because apparently a header file
'p11test_common.h' which is present in opensc git tree is missing in the
tarball …

Signed-off-by: Alexander Dahl <[email protected]>
---
 rules/opensc.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rules/opensc.in b/rules/opensc.in
index eeda1e43d..6ebe64cf8 100644
--- a/rules/opensc.in
+++ b/rules/opensc.in
@@ -7,6 +7,7 @@ menuconfig OPENSC
        select OPENCT           if OPENSC_OPENCT
        select PCSC_LITE        if OPENSC_PCSC
        select OPENSSL          if OPENSC_OPENSSL
+       select CMOCKA           if OPENSC_TESTSUITE
        help
          Smart card utilities with support for PKCS#15 compatible cards
 
@@ -44,8 +45,7 @@ config OPENSC_TOOLS
        bool "install tools"
 
 config OPENSC_TESTSUITE
-       # needs cmocka
-       depends on BROKEN
        bool "install testsuite"
+       depends on OPENSC_OPENSSL
 
 endif
-- 
2.20.1


_______________________________________________
ptxdist mailing list
[email protected]

Reply via email to