Quote:
Either of these options would end up overriding all other CONFIGURE_ARGS set in the Makefile. You would need to redefine all of them on the commandline or in make.conf which isn't practical.
|
Hm?
No they won't, make.conf is sourced before the Makefile (See /usr/share/mk/sys.mk), Makefile.local is sourced after the Makefile (Which is why Makefile.local uses +=), commandline arguments are also read before the Makefile ... So it won't override anything.
Quote:
This would work, but you would still need to add:
Code:
.include "Makefile.local"
to the end of the Makefile.
|
No, Makefile.local is added automatically, as are several other Makefiles, see /usr/ports/Mk/bsd.port.mk line 1205
Trust me, it works as I said it does .... But don't take my word for it, try it out your self
.