From owner-freebsd-ports@FreeBSD.ORG Tue Aug 25 12:48:23 2009 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 B1945106568C; Tue, 25 Aug 2009 12:48:23 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) by mx1.freebsd.org (Postfix) with ESMTP id 6EFB38FC26; Tue, 25 Aug 2009 12:48:23 +0000 (UTC) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 1E44619E044; Tue, 25 Aug 2009 14:48:20 +0200 (CEST) Received: from [10.43.15.6] (cage.codelab.cz [94.124.105.27]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 21D6519E043; Tue, 25 Aug 2009 14:48:12 +0200 (CEST) Message-ID: <4A93DD8E.4030309@quip.cz> Date: Tue, 25 Aug 2009 14:48:14 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.13) Gecko/20060414 X-Accept-Language: cz, cs, en, en-us MIME-Version: 1.0 To: Doug Barton References: <20090825002359.GA61141@duncan.reilly.home> <20090825011847.53F801CC09@ptavv.es.net> <20090825021135.GA70448@duncan.reilly.home> <4A93854E.7020608@FreeBSD.org> In-Reply-To: <4A93854E.7020608@FreeBSD.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org Subject: Re: [HEADUP] FreeBSD Gecko's TODO and plan for future 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: Tue, 25 Aug 2009 12:48:23 -0000 Doug Barton wrote: > Andrew Reilly wrote: [...] >>but I >>don't see a ready equivalent to this with portmaster, hence my >>dumb script. In particular, I don't think that portmaster can >>combine the -r and -x flags (depend and exclude), > > > Ummm, why not? It's a little hard to represent in the man page because > there are so many flags, but -x is included in the "common flags" list > at the top, and the man page does indicate that -r will take the > common flags. You'd have to write it: > > portmaster -x firefox -r firefox-2.34 > (substitute the actual value for the installed firefox port) > > but it should work. I tried -r and -x few days ago in our last bug hunt in portmaster 2.9, and it did not work. I don't remember what exactly I tried, but I used -i instead and did not investigate if -r and -x is supposed to work together. I can try it again with better attention. > There are at least three other ways to do something similar. One would > be to use -i instead of -x, another would be an +IGNOREME file. Read > the man page for how to use the latter. > > Yet another way to do what you proposed in the part of your post that > I snipped (building based on a list) would have been to do this: > > pkg_info -q -R firefox-2* > list > portmaster `cat list` > > That's probably the simplest way to do what you were trying to > accomplish, and would have had the benefit of portmaster caching all > the data on up to date dependencies, and building the things in the > list in proper dependency order. Sorry to jump in after the fact with > this news, but hopefully it will help someone else. [...] Miroslav Lachman