aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2013-02-14 08:32:07 +0000
committerHiroki Sato <hrs@FreeBSD.org>2013-02-14 08:32:07 +0000
commit0af99eef9e4d3c463ece2da2342499cd5b55b8ab (patch)
treec2583c9ae8e9c3015fefef75ac0c2e5026ab3283
parentaf2637db52bc5520a60ae6cb276c792a5ebe8073 (diff)
downloadsrc-0af99eef9e4d3c463ece2da2342499cd5b55b8ab.tar.gz
src-0af99eef9e4d3c463ece2da2342499cd5b55b8ab.zip
- Fix libmd dependency. It is needed in the bootstrap library list because
usr.bin/xinstall depends on it. - Remove libutil from usr.bin/xinstall/Makefile. No symbol was actually used. Reviewed by: brooks
Notes
Notes: svn path=/head/; revision=246784
-rw-r--r--Makefile.inc11
-rw-r--r--usr.bin/xinstall/Makefile6
2 files changed, 5 insertions, 2 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index bcb948734ad3..8a8f8cd31029 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -1207,6 +1207,7 @@ bootstrap-tools:
${_sed} \
${_yacc} \
${_lex} \
+ lib/libmd \
usr.bin/xinstall \
${_gensnmptree} \
usr.sbin/config \
diff --git a/usr.bin/xinstall/Makefile b/usr.bin/xinstall/Makefile
index d9d587302c0c..773dd4ef8778 100644
--- a/usr.bin/xinstall/Makefile
+++ b/usr.bin/xinstall/Makefile
@@ -7,10 +7,12 @@ SRCS= xinstall.c getid.c
MAN= install.1
.PATH: ${.CURDIR}/../../contrib/mtree
+.PATH: ${.CURDIR}/../../lib/libmd
CFLAGS+= -I${.CURDIR}/../../contrib/mtree
CFLAGS+= -I${.CURDIR}/../../lib/libnetbsd
+CFLAGS+= -I${.CURDIR}/../../lib/libmd
-DPADD+= ${LIBUTIL} ${LIBMD}
-LDADD+= -lutil -lmd
+DPADD+= ${LIBMD}
+LDADD+= -lmd
.include <bsd.prog.mk>