nasm-2.16.01,1 build (nearly) locks up machine

From: Stefan Ehmann <shoesoft_at_gmx.net>
Date: Fri, 23 Dec 2022 14:31:00 UTC
devel/nasm nearly killed my machine today:

It starts thousands of gmake processes (probably until the machine locks up).

I also see lots of log entries in the build log (probably ~1 per gmake
invocation):

: > asm/warnings.time
gmake asm/warnings.c.time include/warnings.h.time doc/warnings.src.time
gmake[13499]: Entering directory '/wrkdirs/usr/ports/devel/nasm/work/
nasm-2.16.01'

Seems some kind of make loop. Is this a general problem or is there something
wrong with my setup? I'm building in poudriere on 13.1/amd64.