From 6702b6086c2b8dae1f42822959dc5d46e5df564d Mon Sep 17 00:00:00 2001 From: sjg Date: Wed, 3 Apr 2013 16:20:21 +0000 Subject: 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 8b8a5ce..74cac60 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 -- cgit v1.1