svn commit: r269839 - head/share/mk
Rui Paulo
rpaulo at FreeBSD.org
Mon Aug 11 20:44:57 UTC 2014
Author: rpaulo
Date: Mon Aug 11 20:44:57 2014
New Revision: 269839
URL: http://svnweb.freebsd.org/changeset/base/269839
Log:
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
Modified:
head/share/mk/bsd.dep.mk
Modified: head/share/mk/bsd.dep.mk
==============================================================================
--- head/share/mk/bsd.dep.mk Mon Aug 11 20:41:14 2014 (r269838)
+++ head/share/mk/bsd.dep.mk Mon Aug 11 20:44:57 2014 (r269839)
@@ -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}
More information about the svn-src-all
mailing list