Created attachment 249441 [details] correct environment confusion using gmake On recent CURRENT (FreeBSD 15.0-CURRENT #6 main-n268966-a200093c2163: Sat Mar 23 08:34:05 CET 2024 amd64), building emulators/wine-devel fails with: [...] ===> Building for wine-devel-9.4,1 cd /usr/ports/emulators/wine-devel/work/wine-9.4 && gmake depend : invalid option -- D Usage: gmake [options] [target] ... Options: -b, -m Ignored for compatibility. -B, --always-make Unconditionally make all targets. -C DIRECTORY, --directory=DIRECTORY [...] The solution/workaround has recently been discussed here, I guess this error is a late fallout. See patch.