From owner-freebsd-ports@FreeBSD.ORG Wed Aug 15 02:42:51 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 8603316A418 for ; Wed, 15 Aug 2007 02:42:51 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx22.fluidhosting.com [204.14.89.5]) by mx1.freebsd.org (Postfix) with SMTP id 27EAC13C458 for ; Wed, 15 Aug 2007 02:42:51 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 14710 invoked by uid 399); 15 Aug 2007 02:42:50 -0000 Received: from localhost (HELO slave.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTP; 15 Aug 2007 02:42:50 -0000 X-Originating-IP: 127.0.0.1 Date: Tue, 14 Aug 2007 19:42:48 -0700 (PDT) From: Doug Barton To: Alexey Rubtsov In-Reply-To: Message-ID: References: X-message-flag: Outlook -- Not just for spreading viruses anymore! X-OpenPGP-Key-ID: 0xD5B2F0FB Organization: http://www.FreeBSD.org/ MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=us-ascii Cc: ports@freebsd.org, mm@freebsd.org, tobez@freebsd.org Subject: Re: 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: Wed, 15 Aug 2007 02:42:51 -0000 On Fri, 10 Aug 2007, Alexey Rubtsov wrote: > 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. As far as I can see, you didn't get a reply, so I'll take a shot at it. I don't think what you're asking for is really possible, since by nature the dependencies have to be searched recursively. Ports tools like portmaster ignore the order that they are returned in, and do a depth-first traversal of all dependencies, internally recording those that are already up to date. hope this helps, Doug -- This .signature sanitized for your protection