summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrpaulo <rpaulo@FreeBSD.org>2014-08-11 22:43:44 +0000
committerrpaulo <rpaulo@FreeBSD.org>2014-08-11 22:43:44 +0000
commit9cc5beedc78cd4c310476749d339d8fc9497be85 (patch)
tree092b3cf0c701ac1b2adfaa09c9666a9824be3e8f
parentdcd8c2c69124b49d6245a809aab5165b197d873b (diff)
downloadFreeBSD-src-9cc5beedc78cd4c310476749d339d8fc9497be85.zip
FreeBSD-src-9cc5beedc78cd4c310476749d339d8fc9497be85.tar.gz
Revert r269839.
This doesn't work like I expected and the if clause is never matched. It turns out that the problem with the older make is unrelated. MFC after: 3 days
-rw-r--r--share/mk/bsd.dep.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/mk/bsd.dep.mk b/share/mk/bsd.dep.mk
index a360f60..a15a70d 100644
--- a/share/mk/bsd.dep.mk
+++ b/share/mk/bsd.dep.mk
@@ -122,7 +122,7 @@ ${_YC:R}.o: ${_YC}
# DTrace probe definitions
# libelf is currently needed for drti.o
-.if !empty(${SRCS:M*.d})
+.if ${SRCS:M*.d}
LDFLAGS+= -lelf
LDADD+= ${LIBELF}
CFLAGS+= -D_DTRACE_VERSION=1 -I${.OBJDIR}
OpenPOWER on IntegriCloud