[crux-commits] ports/core (3.7): make: apply fixes from upstream as of 20221116