Instead of trying to patch it, just supply a BSD-specific Makefile using <bsd.prog.mk>. This removes the build-time dependency of this tiny port on USE_REINPLACE and the heavy-weight gmake at once.