Arguments passed to make for the top level port build for lang/fpc
can be consumed by gmake used to build the actual upstream project
(vs the ports infrastructure 'make' operations).
For instance, make -DNO_DEPENDS stage will pass
"MAKEFLAGS= -D NO_DEPENDS ..." in the environment
to the gmake invocation. gmake chokes on that with the following:
: invalid option -- D
A fix for that is to clear the environment as with the ports
572f2361692640bc27729191b1267aa3fcc354a7 commit that added SETENVI
and WRK_ENV.
PR: 291061
Reported by: jcfyecrayz __at__ liamekaens.com