svn commit: r264044 - head/share/mk

Warner Losh imp at FreeBSD.org
Wed Apr 2 16:33:02 UTC 2014


Author: imp
Date: Wed Apr  2 16:33:02 2014
New Revision: 264044
URL: http://svnweb.freebsd.org/changeset/base/264044

Log:
  FreeBSD make (aka fmake) doesn't grok .MAKE.LEVEL. Failsafe and assume
  that it is OK to set MK_xxx flags.

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

Modified: head/share/mk/bsd.own.mk
==============================================================================
--- head/share/mk/bsd.own.mk	Wed Apr  2 16:29:29 2014	(r264043)
+++ head/share/mk/bsd.own.mk	Wed Apr  2 16:33:02 2014	(r264044)
@@ -432,7 +432,7 @@ __DEFAULT_YES_OPTIONS+=GCC GNUCXX
 .error WITH_${var} and WITHOUT_${var} can't both be set.
 .endif
 .if defined(MK_${var})
-.if ${.MAKE.LEVEL} == 0
+.if defined(.MAKE.LEVEL) && ${.MAKE.LEVEL} == 0
 .error MK_${var} can't be set by a user.
 .endif
 .else


More information about the svn-src-all mailing list