On Fri, Mar 11, 2022 at 09:43:15AM +0100, Giovanni Bechis wrote:
> This crate contains FFI bindings for the rustls TLS library,
> so you can use the library in C programs or any other language that supports 
> FFI.
> 
> Atm the port fails during "make fake" with:
> $ make fake
> ===>  Faking installation for rustls-ffi-0.8.2
> error: no packages found with binaries or examples

cargo install is only meant to be used for binary crates. This is a
library crate. I think you need this:

MODCARGO_INSTALL =      No
USE_GMAKE =             Yes

The Makefile in WRKSRC uses its own DESTDIR, so things get installed in
the wrong target directories during make fake, but that's another problem.

> This port is needed to enable new mod_tls in www/apache-httpd.

Note that rustls depends on ring which doesn't build on sparc64,
so it's only a subset of rust architectures that can have this module.

Reply via email to