bsd.dep.mk: use the empty() function with the check for .d files.

Seems to work better with the old make.

MFC after:	3 days
This commit is contained in:
Rui Paulo 2014-08-11 20:44:57 +00:00
parent 23e9784542
commit 04c241ea2d

View File

@ -122,7 +122,7 @@ ${_YC:R}.o: ${_YC}
# DTrace probe definitions
# libelf is currently needed for drti.o
.if ${SRCS:M*.d}
.if !empty(${SRCS:M*.d})
LDFLAGS+= -lelf
LDADD+= ${LIBELF}
CFLAGS+= -D_DTRACE_VERSION=1 -I${.OBJDIR}