svn commit: r330425 - stable/10/share/mk

Bryan Drewery bdrewery at FreeBSD.org
Sun Mar 4 23:34:05 UTC 2018


Author: bdrewery
Date: Sun Mar  4 23:34:04 2018
New Revision: 330425
URL: https://svnweb.freebsd.org/changeset/base/330425

Log:
  MFC r330127:
  
    Allow overriding .MAKE.MAKEFILE_PREFERENCE.

Modified:
  stable/10/share/mk/sys.mk
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/share/mk/sys.mk
==============================================================================
--- stable/10/share/mk/sys.mk	Sun Mar  4 23:34:02 2018	(r330424)
+++ stable/10/share/mk/sys.mk	Sun Mar  4 23:34:04 2018	(r330425)
@@ -356,7 +356,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}
 
 # By default bmake does *not* use set -e
 # when running target scripts, this is a problem for many makefiles here.


More information about the svn-src-all mailing list