Author: bdrewery
Date: Tue Jun 14 17:23:22 2016
New Revision: 301893
URL: https://svnweb.freebsd.org/changeset/base/301893

Log:
  Fix build from stable/10 with fmake.
  
  This was broken in r301888.
  
  fmake does not look in share/mk by default and thus does not yet
  have MK_META_MODE set with default.
  
  Pointyhat to: bdrewery
  Approved by:  re (implicit)
  Sponsored by: EMC / Isilon Storage Division

Modified:
  head/Makefile

Modified: head/Makefile
==============================================================================
--- head/Makefile       Tue Jun 14 17:15:36 2016        (r301892)
+++ head/Makefile       Tue Jun 14 17:23:22 2016        (r301893)
@@ -219,7 +219,7 @@ _CAN_USE_META_MODE?= yes
 .if !defined(_CAN_USE_META_MODE)
 _MAKE+=        MK_META_MODE=no
 .unexport META_MODE
-.elif ${MK_META_MODE} == "yes"
+.elif defined(MK_META_MODE) && ${MK_META_MODE} == "yes"
 .if !exists(/dev/filemon) && !defined(NO_FILEMON) && !make(showconfig)
 # Require filemon be loaded to provide a working incremental build
 .error ${.newline}ERROR: The filemon module (/dev/filemon) is not loaded. \
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to