summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2015-10-28 16:31:04 +0000
committerbdrewery <bdrewery@FreeBSD.org>2015-10-28 16:31:04 +0000
commit78fa4cdb3ca68cc791d70aa1e7194666ce617958 (patch)
tree82b6849979087d2d4d09e5c89c6e7ba5dfff1ca6 /usr.sbin
parentc104db793d18b6c0ac1bf2cd74dd73534ac36b24 (diff)
downloadFreeBSD-src-78fa4cdb3ca68cc791d70aa1e7194666ce617958.zip
FreeBSD-src-78fa4cdb3ca68cc791d70aa1e7194666ce617958.tar.gz
Include libutil's headers directly from src to avoid recording a dirdeps
dependency for META MODE.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/mpsutil/Makefile3
-rw-r--r--usr.sbin/mpsutil/Makefile.depend1
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/mpsutil/Makefile b/usr.sbin/mpsutil/Makefile
index 9f93215..b559b7f 100644
--- a/usr.sbin/mpsutil/Makefile
+++ b/usr.sbin/mpsutil/Makefile
@@ -11,7 +11,8 @@ LINKS= ${BINDIR}/mpsutil ${BINDIR}/mprutil
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
diff --git a/usr.sbin/mpsutil/Makefile.depend b/usr.sbin/mpsutil/Makefile.depend
index 58f9a33..3646e2e 100644
--- a/usr.sbin/mpsutil/Makefile.depend
+++ b/usr.sbin/mpsutil/Makefile.depend
@@ -9,7 +9,6 @@ DIRDEPS = \
lib/${CSU_DIR} \
lib/libc \
lib/libcompiler_rt \
- lib/libutil \
.include <dirdeps.mk>
OpenPOWER on IntegriCloud