Date: Mon, 11 Aug 2014 20:44:57 +0000 (UTC) From: Rui Paulo <rpaulo@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r269839 - head/share/mk Message-ID: <53e92b49.2e69.39ede5a7@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53e92b49.2e69.39ede5a7>