From owner-freebsd-ports@FreeBSD.ORG Fri Aug 10 07:19:46 2007 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9DCCF16A41A for ; Fri, 10 Aug 2007 07:19:46 +0000 (UTC) (envelope-from arubtsov@swsoft.com) Received: from mail3.plesk.ru (gw-swsoft2.ll-nsk.zsttk.ru [82.200.65.190]) by mx1.freebsd.org (Postfix) with ESMTP id 4C2A013C467 for ; Fri, 10 Aug 2007 07:19:46 +0000 (UTC) (envelope-from arubtsov@swsoft.com) Received: by mail3.plesk.ru (Postfix, from userid 426) id B45361A9935; Fri, 10 Aug 2007 14:19:39 +0700 (NOVST) Received: from localhost (rubtsov.plesk.ru [192.168.62.206]) by mail3.plesk.ru (Postfix) with ESMTP id 9066B1A9929; Fri, 10 Aug 2007 14:19:39 +0700 (NOVST) Date: Fri, 10 Aug 2007 14:18:59 +0700 To: mm@freebsd.org, tobez@freebsd.org From: "Alexey Rubtsov" Content-Type: text/plain; format=flowed; delsp=yes; charset=koi8-r MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Message-ID: User-Agent: Opera Mail/9.21 (FreeBSD) Cc: ports@freebsd.org Subject: order of dependencies X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Aug 2007 07:19:46 -0000 Hello All!. The target all-depends-list from bsd.ports.mk print dependencies in not correct order. In this target dependencies was looked from up to down and do not check dependencies whoes already checked(for reduce execution time). As result - order of dependencies is incorrect. For example in misc/mc: # make all-depends-list ports-mgmt/pkg_install devel/pkg-config devel/gmake converters/libiconv devel/gettext devel/glib20 devel/libtool15 misc/ldconfig_compat lang/perl5.8 But right order was: ports-mgmt/pkg_install misc/ldconfig_compat devel/libtool15 converters/libiconv devel/gettext devel/gmake lang/perl5.8 devel/pkg-config devel/glib20 So if i already have some packages for install dependencies, i have to resort dependencies in right order and install components step by step from port or package. I think this target possible to use in ports-mgmt utils like portupgrade(with -r flag). -- Alexey Rubtsov Plesk(Unix) Developer SwSoft, Inc. E-mail: arubtsov@swsoft.com Phone: +7.923.232.8243 ICQ UIN: 929399162 Web Site: www.swsoft.com