Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Mar 2018 23:34:04 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r330425 - stable/10/share/mk
Message-ID:  <201803042334.w24NY4YH050194@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803042334.w24NY4YH050194>