On Thu, Dec 05, 2019 at 10:59:21PM +0100, Alexander Dahl wrote:
> 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 <p...@lespocky.de>
> ---
>  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

I'd prefer a 'select OPENSC_OPENSSL' here.

Michael

>  
>  endif
> -- 
> 2.20.1
> 
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to