Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Mar 2018 23:34:02 +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-11@freebsd.org
Subject:   svn commit: r330424 - stable/11/share/mk
Message-ID:  <201803042334.w24NY25f050147@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Sun Mar  4 23:34:02 2018
New Revision: 330424
URL: https://svnweb.freebsd.org/changeset/base/330424

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

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

Modified: stable/11/share/mk/sys.mk
==============================================================================
--- stable/11/share/mk/sys.mk	Sun Mar  4 23:32:36 2018	(r330423)
+++ stable/11/share/mk/sys.mk	Sun Mar  4 23:34:02 2018	(r330424)
@@ -447,7 +447,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.



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