summaryrefslogtreecommitdiffstats
path: root/share/mk/sys.mk
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2004-01-27 23:22:15 +0000
committerru <ru@FreeBSD.org>2004-01-27 23:22:15 +0000
commit035d02d5ecd28ca4bab1f7c024aa1c8cf9e54cf4 (patch)
treeaa563b4efcc626ea2646822f21daf0d1ed2f88de /share/mk/sys.mk
parenta50969358fe6ec75fbc1190e21c5f30174b9e0f3 (diff)
downloadFreeBSD-src-035d02d5ecd28ca4bab1f7c024aa1c8cf9e54cf4.zip
FreeBSD-src-035d02d5ecd28ca4bab1f7c024aa1c8cf9e54cf4.tar.gz
Fixed bogus ${FOO:Mbar} tests where the actual intent is to check
if the result set is empty. While here, replaced non-bogus empty string comparisons with equivalent empty() checks.
Diffstat (limited to 'share/mk/sys.mk')
-rw-r--r--share/mk/sys.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/mk/sys.mk b/share/mk/sys.mk
index 8c20c49..aeb8f92 100644
--- a/share/mk/sys.mk
+++ b/share/mk/sys.mk
@@ -44,7 +44,7 @@ CXXFLAGS ?= ${CFLAGS:C/-std=[a-z:0-9]+//}
CPP ?= cpp
-.if ${.MAKEFLAGS:M-s} == ""
+.if empty(.MAKEFLAGS:M-s)
ECHO ?= echo
ECHODIR ?= echo
.else
OpenPOWER on IntegriCloud