On 2026/07/01 01:51, David Uhden Collado wrote: > What might be more useful long term is a proper ports module for > Node-based ports, similar to the existing port-modules(5) mechanism. > The ports framework already has optional modules pulled in through > MODULES, and non-core modules are normally looked up by pkgpath and > a .port.mk file: > > https://man.openbsd.org/port-modules.5 > > Something like this: > > MODULES += lang/node > > could provide a standard way to declare, fetch, cache, and hash npm > dependencies from package-lock.json, so Node-based ports do not all > need to reinvent that logic.
There is various work towards this in https://github.com/opencrew-tech/openbsd-electron It is super tricky because many of these involve native code downloads and dep sets which differ depending on arch.
