From 71c66d9edc017e9ca39b95975a44e1a93dae2ad0 Mon Sep 17 00:00:00 2001 From: "Simon J. Gerraty" Date: Sun, 14 Jun 2015 03:27:22 +0000 Subject: [PATCH] Avoid anoying warning --- share/mk/bsd.init.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/mk/bsd.init.mk b/share/mk/bsd.init.mk index 3ad29cc422fb..a7f90ebee11c 100644 --- a/share/mk/bsd.init.mk +++ b/share/mk/bsd.init.mk @@ -20,7 +20,7 @@ ____: # this tells lib.mk and prog.mk to not actually build anything _SKIP_BUILD = not building at level 0 .endif -.if !empty(_SKIP_BUILD) +.if ${.MAKE.LEVEL} > 0 && !empty(_SKIP_BUILD) .warning ${_SKIP_BUILD} .endif