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.
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to