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
 
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to