Monday, February 28, 2022

Re: [UPDATE] lang/nim to 1.6.4

>> Volker Schlecht <openbsd-ports@schlecht.dev> wrote:
>>> It uses fork instead of posix_spawn ... both OpenBSD and FreeBSD remove
>>> that line in their ports, though. NetBSD keeps it as it is.
>>>
>>> It was added by upstream 8 years ago, and the comment refers to
>>> posix_spawn being new to BSDs at the time.
>
> so that part of the patch can probably be garbage-collected now?

Not quite. The configuration from *upstream* wants to use fork instead
of posix_spawn, and they made that decision 8 years ago.

Our own patch reverts that upstream configuration and makes it use
posix_spawn instead. FreeBSD has a patch to the same effect:

https://cgit.freebsd.org/ports/tree/lang/nim/files/patch-config-nim.cfg

Unless we have a problem with posix_spawn, I'd keep it in.

No comments:

Post a Comment