Date: Sat, 27 Feb 2010 10:36:23 -0800 From: Doug Barton <dougb@dougbarton.us> To: Michael Reifenberger <mike@reifenberger.com> Cc: FreeBSD-Ports <freebsd-ports@freebsd.org> Subject: Re: portmaster usage for a list of ports Message-ID: <4B896627.7060604@dougbarton.us> In-Reply-To: <alpine.BSF.2.00.1002271043320.9907@gw.reifenberger.com> References: <alpine.BSF.2.00.1002271043320.9907@gw.reifenberger.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 02/27/10 02:10, Michael Reifenberger wrote: > Hi, > for compiling a list of ports inside a emulated FreeBSD-current environment > I would need to use portmaster as: > > cat ./myports.txt | xargs portmaster -r -R -G -g -d -m "WITHOUT_GSSAPI=YES" > (myports.txt contains a list of to be installed/updated ports) First, you should remove -r (and therefore -R) from that list of options. See the man page. While you're reading it, look for the --list-origins option as well. Second, I think you're better off putting WITHOUT_GSSAPI in /etc/make.conf. Finally, to answer your actual question: portmaster `cat myports.txt` is how you want to do this (as described in the man page). :) By running portmaster against the entire list instead of one port at a time you will benefit from all of the caching that it does. hth, Doug -- ... and that's just a little bit of history repeating. -- Propellerheads Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B896627.7060604>