svn commit: r269844 - head/share/mk

Rui Paulo rpaulo at FreeBSD.org
Mon Aug 11 22:43:44 UTC 2014


Author: rpaulo
Date: Mon Aug 11 22:43:44 2014
New Revision: 269844
URL: http://svnweb.freebsd.org/changeset/base/269844

Log:
  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

Modified:
  head/share/mk/bsd.dep.mk

Modified: head/share/mk/bsd.dep.mk
==============================================================================
--- head/share/mk/bsd.dep.mk	Mon Aug 11 22:38:13 2014	(r269843)
+++ head/share/mk/bsd.dep.mk	Mon Aug 11 22:43:44 2014	(r269844)
@@ -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}


More information about the svn-src-all mailing list