svn commit: r330127 - head/share/mk
Bryan Drewery
bdrewery at FreeBSD.org
Wed Feb 28 20:06:04 UTC 2018
Author: bdrewery
Date: Wed Feb 28 20:06:03 2018
New Revision: 330127
URL: https://svnweb.freebsd.org/changeset/base/330127
Log:
Allow overriding .MAKE.MAKEFILE_PREFERENCE.
This will be utilized by Ports tools to avoid some extra
stat(2) calls.
MFC after: 3 days
Modified:
head/share/mk/sys.mk
Modified: head/share/mk/sys.mk
==============================================================================
--- head/share/mk/sys.mk Wed Feb 28 19:08:52 2018 (r330126)
+++ head/share/mk/sys.mk Wed Feb 28 20:06:03 2018 (r330127)
@@ -314,7 +314,8 @@ SHELL= ${__MAKE_SHELL}
.MAKE.EXPAND_VARIABLES= yes
# Tell bmake the makefile preference
-.MAKE.MAKEFILE_PREFERENCE= BSDmakefile makefile Makefile
+MAKEFILE_PREFERENCE?= BSDmakefile makefile Makefile
+.MAKE.MAKEFILE_PREFERENCE= ${MAKEFILE_PREFERENCE}
# Tell bmake to always pass job tokens, regardless of target depending on
# .MAKE or looking like ${MAKE}/${.MAKE}/$(MAKE)/$(.MAKE)/make.
More information about the svn-src-all
mailing list