Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Apr 2014 16:33:02 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r264044 - head/share/mk
Message-ID:  <201404021633.s32GX2PY063342@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404021633.s32GX2PY063342>