svn commit: r290115 - head/usr.sbin/mpsutil

Bryan Drewery bdrewery at FreeBSD.org
Wed Oct 28 16:31:05 UTC 2015


Author: bdrewery
Date: Wed Oct 28 16:31:04 2015
New Revision: 290115
URL: https://svnweb.freebsd.org/changeset/base/290115

Log:
  Include libutil's headers directly from src to avoid recording a dirdeps
  dependency for META MODE.

Modified:
  head/usr.sbin/mpsutil/Makefile
  head/usr.sbin/mpsutil/Makefile.depend

Modified: head/usr.sbin/mpsutil/Makefile
==============================================================================
--- head/usr.sbin/mpsutil/Makefile	Wed Oct 28 16:28:28 2015	(r290114)
+++ head/usr.sbin/mpsutil/Makefile	Wed Oct 28 16:31:04 2015	(r290115)
@@ -11,7 +11,8 @@ LINKS=	${BINDIR}/mpsutil ${BINDIR}/mprut
 MLINKS=	mpsutil.8 mprutil.8
 
 CFLAGS+= -I${.CURDIR}/../../sys -I. -DUSE_MPT_IOCTLS
-
+# Avoid dirdep dependency on libutil
+CFLAGS+= -I${SRCTOP}/lib/libutil
 
 # Here be dragons
 .ifdef DEBUG

Modified: head/usr.sbin/mpsutil/Makefile.depend
==============================================================================
--- head/usr.sbin/mpsutil/Makefile.depend	Wed Oct 28 16:28:28 2015	(r290114)
+++ head/usr.sbin/mpsutil/Makefile.depend	Wed Oct 28 16:31:04 2015	(r290115)
@@ -9,7 +9,6 @@ DIRDEPS = \
 	lib/${CSU_DIR} \
 	lib/libc \
 	lib/libcompiler_rt \
-	lib/libutil \
 
 
 .include <dirdeps.mk>


More information about the svn-src-all mailing list