From owner-freebsd-ports@FreeBSD.ORG Mon Nov 9 07:31:55 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF3771065676 for ; Mon, 9 Nov 2009 07:31:55 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id 3E2FF8FC19 for ; Mon, 9 Nov 2009 07:31:54 +0000 (UTC) Received: (qmail 15135 invoked by uid 399); 9 Nov 2009 07:31:54 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 9 Nov 2009 07:31:54 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4AF7C569.4090005@FreeBSD.org> Date: Sun, 08 Nov 2009 23:31:53 -0800 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Thunderbird 2.0.0.23 (X11/20090822) MIME-Version: 1.0 To: Michel Talon References: <20091108223634.GA89295@lpthe.jussieu.fr> In-Reply-To: <20091108223634.GA89295@lpthe.jussieu.fr> X-Enigmail-Version: 0.96.0 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: Portmaster with package support ready for beta testing 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: Mon, 09 Nov 2009 07:31:55 -0000 Michel Talon wrote: > Miroslav Lachman wrote: >> I take a quick look at the code and I have one question. Can you explain >> way --no-deps and --force are used for pkg_add? > > > I can only venture an explanation. Once you have computed a good order > for upgrading via packages, you cannot accept that pkg_add ruins your > computation by doing things on its own. In principle you have a > global view of the problem, which is better than the local view embedded > in each package. Hence forcing pkg_add is the only sane way. Very elegantly stated. :) This is all subject to change of course based on refinement from experience, but this usage matches the way that ports are installed in the well-traveled port building code. Doug -- Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/