summaryrefslogtreecommitdiffstats
path: root/share/mk/bsd.prog.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/bsd.prog.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/bsd.prog.mk')
-rw-r--r--share/mk/bsd.prog.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/mk/bsd.prog.mk b/share/mk/bsd.prog.mk
index 8ae4063..7e34965 100644
--- a/share/mk/bsd.prog.mk
+++ b/share/mk/bsd.prog.mk
@@ -33,7 +33,7 @@ PROG= ${PROG_CXX}
.if defined(SRCS)
# If there are Objective C sources, link with Objective C libraries.
-.if ${SRCS:M*.m} != ""
+.if !empty(SRCS:M*.m)
OBJCLIBS?= -lobjc
LDADD+= ${OBJCLIBS}
.endif
OpenPOWER on IntegriCloud