svn commit: r284366 - head/share/mk

Simon J. Gerraty sjg at FreeBSD.org
Sun Jun 14 03:27:23 UTC 2015


Author: sjg
Date: Sun Jun 14 03:27:22 2015
New Revision: 284366
URL: https://svnweb.freebsd.org/changeset/base/284366

Log:
  Avoid anoying warning

Modified:
  head/share/mk/bsd.init.mk

Modified: head/share/mk/bsd.init.mk
==============================================================================
--- head/share/mk/bsd.init.mk	Sun Jun 14 03:14:45 2015	(r284365)
+++ head/share/mk/bsd.init.mk	Sun Jun 14 03:27:22 2015	(r284366)
@@ -20,7 +20,7 @@ __<bsd.init.mk>__:
 # 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
 


More information about the svn-src-head mailing list