Reaction score: 854
I wonder if devel/gmake can be replaced with gmake-lite that is called from ports' Makefile's by editing /usr/ports/Mk/Uses/gmake.mk. gmake seems to draw in a lot of dependencies and a perpetual list of options (that don't seem to add any functionality to FreeBSD) when building, if I'm not mistaken. The problem may not be with gmake itself.
Some builds by gmake can be replaced with make with no problems; but many imake, cmake, and gmake meant builds will fail by using regular make. Can /usr/ports/Mk/ be adjusted to override specific ports Makefile's dependencies or options?
Also I'd like to know if clang is always being called instead of gcc, regardless of which make is used, or how to override the options if another compiler is called.
What I'm trying to do here is streamline the build options, and make as much native to FreeBSD. It turns out that I've done builds that last half a day and they failed, or had so many options, that tuning them wrong, causes circular dependencies to pop up. I've found out that many dependencies weren't needed, they were just called on to complete GNU or GCC dependencies, not dependencies that make FreeBSD programs functional.