From: Stuart Henderson Subject: Re: NEW: sysutils/starship To: Lydia Sobot Cc: ports@openbsd.org Date: Mon, 9 Mar 2026 15:45:14 +0000 On 2026/03/09 16:19, Lydia Sobot wrote: > >> I'm sure, but I'm more a little bit baffled coming from go-module(5) at > >> the whole rigmarole of adding the licence comments to crates.inc after > >> the fact (which seems to require parsing the existing crates.inc, > >> redirecting the output elsewhere, and then overwriting the file...?) > >> so I'd love a bit more insight into why it is so different since as much > >> as I dug at the docs, I couldn't find much of an explanation. > > > > because nobody implemented that for go.port.mk yet > > > > it would be useful to have otherwise it's not really possibly to check > > for incompatible mixes of licenses that would mean it's not ok to > > provide packages > Makes a lot of sense, thanks, however it would also probably make a bit > more sense to have the licence comment adding mechanism edit the > existing .inc file in-place, optionally, or be *somehow* a tiny bit more > integrated into the gen-{modules,crates} target The license information comes from the downloaded files. You need to be able to generate the list of files before you can download them.