Date: Fri, 24 Nov 2006 10:34:16 +0300 From: Michael Bushkov <bushman@freebsd.org> To: freebsd-hackers@freebsd.org Subject: [PATCH] make_libdeps.sh in -CURRENT Message-ID: <200611241034.17514.bushman@freebsd.org>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Hello,
As far as I understand the src/tools/make_libdeps.sh logic, its current
version handles any library that uses bsd.own.mk header incorrectly, because
the "make -V LDADD" command always fails with "undefined MK_XXX variable".
Small patch, that is attached to this letter, fixes the problem.
--
With best regards,
Michael Bushkov
Rostov State University
[-- Attachment #2 --]
--- make_libdeps.sh.orig Fri Nov 24 10:11:07 2006
+++ make_libdeps.sh Fri Nov 24 10:08:13 2006
@@ -65,7 +65,7 @@
libdir=$(dirname ${makefile})
deps=$(
cd ${libdir}
- make -V LDADD
+ make -m ${USRSRC}/share/mk -V LDADD
)
if [ "${deps}" ]; then
echo ${libdir}"${FS}"$(
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611241034.17514.bushman>
