aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2016-06-14 17:23:22 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2016-06-14 17:23:22 +0000
commitb6d5c4f594298a7e33c3e14206a4ca2260e6d822 (patch)
treee118b30927c8efbe10357d4bb3fff2c9bbdfa3a7 /Makefile
parent0e069bceea201da459f88046c83217ff99214e30 (diff)
downloadsrc-b6d5c4f594298a7e33c3e14206a4ca2260e6d822.tar.gz
src-b6d5c4f594298a7e33c3e14206a4ca2260e6d822.zip
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
Notes
Notes: svn path=/head/; revision=301893
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b829916916dc..517589acf8fd 100644
--- a/Makefile
+++ b/Makefile
@@ -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. \