pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: wip: Initial import of Starship



On Tue, Jun 15, 2021 at 01:47:56PM +0200, Thomas Klausner wrote:
I simplified the package a bit and moved the cargo variables to a separate
cargo-depends.mk file, since that’s what we do to keep the Makefile smaller and
more readable.

Ah, great - thanks! I'd looked at a few other Rust packages but not seen
the use of a separate makefile for the dependencies.

I couldn’t actually get it to compile though on NetBSD-9.99.85/amd64:

Hmm. Unfortunately I only tested on macOS 10.15, where it builds (and
works) fine.

error[E0425]: cannot find function `waitid` in crate `libc`

Checking the libc source[1], I don't see waitid defined in "netbsdlike/".
FWICS, adding support for waitid should be straightforward - it's just a
matter of adding the missing definition in bsd/netbsdlike/mod.rs?

[1] https://github.com/rust-lang/libc/tree/master/src/unix/bsd

Cheers, MJ
--
Michael-John Turner * mj%mjturner.net@localhost * http://mjturner.net/

Home | Main Index | Thread Index | Old Index