From 93556e96ec6703b3a1ac51508b55b895529abca2 Mon Sep 17 00:00:00 2001 From: "Simon J. Gerraty" Date: Wed, 3 Apr 2013 16:20:21 +0000 Subject: [PATCH] Tell bmake to use the FreeBSD preferred makefile preference list. PR: 177593 Reviewed by: obrien --- share/mk/sys.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/share/mk/sys.mk b/share/mk/sys.mk index 8b8a5cec71a8..74cac6082d63 100644 --- a/share/mk/sys.mk +++ b/share/mk/sys.mk @@ -333,6 +333,9 @@ OBJFORMAT?= elf # Tell bmake to expand -V VAR by default .MAKE.EXPAND_VARIABLES= yes +# Tell bmake the makefile preference +.MAKE.MAKEFILE_PREFERENCE?= BSDmakefile makefile Makefile + .if !defined(.PARSEDIR) # We are not bmake, which is more aggressive about searching .PATH # It is sometime necessary to curb its enthusiasm with .NOPATH