svn commit: r246784 - in head: . usr.bin/xinstall

Hiroki Sato hrs at FreeBSD.org
Thu Feb 14 08:32:08 UTC 2013


Author: hrs
Date: Thu Feb 14 08:32:07 2013
New Revision: 246784
URL: http://svnweb.freebsd.org/changeset/base/246784

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

Modified:
  head/Makefile.inc1
  head/usr.bin/xinstall/Makefile

Modified: head/Makefile.inc1
==============================================================================
--- head/Makefile.inc1	Thu Feb 14 08:16:03 2013	(r246783)
+++ head/Makefile.inc1	Thu Feb 14 08:32:07 2013	(r246784)
@@ -1207,6 +1207,7 @@ bootstrap-tools:
     ${_sed} \
     ${_yacc} \
     ${_lex} \
+    lib/libmd \
     usr.bin/xinstall \
     ${_gensnmptree} \
     usr.sbin/config \

Modified: head/usr.bin/xinstall/Makefile
==============================================================================
--- head/usr.bin/xinstall/Makefile	Thu Feb 14 08:16:03 2013	(r246783)
+++ head/usr.bin/xinstall/Makefile	Thu Feb 14 08:32:07 2013	(r246784)
@@ -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>


More information about the svn-src-all mailing list