Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Oct 2015 16:31:04 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r290115 - head/usr.sbin/mpsutil
Message-ID:  <201510281631.t9SGV4Cn028316@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510281631.t9SGV4Cn028316>