From owner-freebsd-hackers@FreeBSD.ORG Fri Nov 24 07:34:27 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C2E1A16A412 for ; Fri, 24 Nov 2006 07:34:27 +0000 (UTC) (envelope-from bushman@freebsd.org) Received: from mail.r61.net (mail.r61.net [195.208.245.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id D46F243D53 for ; Fri, 24 Nov 2006 07:33:40 +0000 (GMT) (envelope-from bushman@freebsd.org) Received: from stinger.cc.rsu.ru (stinger.cc.rsu.ru [195.208.252.82]) (authenticated bits=0) by mail.r61.net (8.13.8/8.13.8) with ESMTP id kAO7YFPQ004811 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 24 Nov 2006 10:34:15 +0300 (MSK) (envelope-from bushman@freebsd.org) From: Michael Bushkov Organization: Rostov State University To: freebsd-hackers@freebsd.org Date: Fri, 24 Nov 2006 10:34:16 +0300 User-Agent: KMail/1.9.4 MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_5BqZFsUDZir4w3g" Message-Id: <200611241034.17514.bushman@freebsd.org> X-Virus-Scanned: ClamAV version 0.88.4, clamav-milter version 0.88.4 on asterix.r61.net X-Virus-Status: Clean Subject: [PATCH] make_libdeps.sh in -CURRENT X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Nov 2006 07:34:27 -0000 --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--