Saturday, March 07, 2026

Re: NEW: sysutils/starship

On 3/7/26 7:12 PM, Lydia Sobot wrote:
>> You'll need a WANTLIB line, and it would be nicer to use PORTHOME instead
>> of your custom TESTHOME. Creating .config under ${PORTHOME} makes a few more
>> tests pass for me, when testing with privsep enabled.
> Noted, I think I took the TESTHOME pattern from another port but I
> forgot where from,

A quick grep for TESTHOME indicates it might be the tcl/tk ports.

> but also if I may, what purpose does WANTLIB serve
> here?

man 7 library-specs

It serves the same purpose here as it does everywhere :-)

> In general actually I spent much more of my time trying to figure
> out how to make the ports framework cooperate with me adding crate
> dependencies with licences and all that rather than actually making the
> program compile

It gets easier once you committed the steps of updating a rust port to muscle
memory ;-)

Porting is arguably a bit more involved than just making stuff compile: After
all the whole point is to make it build and install for everyone, not just for
yourself.

Just remember:
https://www.openbsd.org/images/hackathons/p2k9.gif

No comments:

Post a Comment