summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2016-06-14 17:23:22 +0000
committerbdrewery <bdrewery@FreeBSD.org>2016-06-14 17:23:22 +0000
commitbdc1fc8318b7c12ace3979bcfba25d68b370e3e1 (patch)
treee118b30927c8efbe10357d4bb3fff2c9bbdfa3a7 /Makefile
parent8aeb3aef28b174ff1c28752f74ca3e58e61babd8 (diff)
downloadFreeBSD-src-bdc1fc8318b7c12ace3979bcfba25d68b370e3e1.zip
FreeBSD-src-bdc1fc8318b7c12ace3979bcfba25d68b370e3e1.tar.gz
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b829916..517589a 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. \
OpenPOWER on IntegriCloud