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
--Boundary-00=_5BqZFsUDZir4w3g Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 --Boundary-00=_5BqZFsUDZir4w3g Content-Type: text/x-diff; charset="us-ascii"; name="make_libdeps.sh.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="make_libdeps.sh.diff" --- 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}"$( --Boundary-00=_5BqZFsUDZir4w3g--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611241034.17514.bushman>