Make use of mk/ files from a fresh source tree, rather than

the currently installed ones.  This makes it possible to use
the script against Makefiles that uses bsd.own.mk on an old
system.

Submitted by:	bushman
This commit is contained in:
Xin LI 2006-11-24 09:07:26 +00:00
parent 217112e529
commit 0ff56caba8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=164581

View File

@ -65,7 +65,7 @@ genlibdepends()
libdir=$(dirname ${makefile})
deps=$(
cd ${libdir}
make -V LDADD
make -m ${USRSRC}/share/mk -V LDADD
)
if [ "${deps}" ]; then
echo ${libdir}"${FS}"$(