From owner-freebsd-questions@FreeBSD.ORG Tue Nov 24 21:29:47 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C69D10657A2 for ; Tue, 24 Nov 2009 21:29:47 +0000 (UTC) (envelope-from lazlar@lazlarlyricon.com) Received: from proxy1.bredband.net (proxy1.bredband.net [195.54.101.71]) by mx1.freebsd.org (Postfix) with ESMTP id 15F0F8FC19 for ; Tue, 24 Nov 2009 21:29:47 +0000 (UTC) Received: from ipb2.telenor.se (195.54.127.165) by proxy1.bredband.net (7.3.140.3) id 4AD3E1C0012B8FA0 for freebsd-questions@freebsd.org; Tue, 24 Nov 2009 22:29:45 +0100 X-SMTPAUTH-B2: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlVKAPXeC0tV44PPPGdsb2JhbACBTZdqgloBAQEBN7ojhDkEhWA X-IronPort-AV: E=Sophos;i="4.47,281,1257116400"; d="scan'208";a="7303291" Received: from c-cf83e355.09-42-6e6b7010.cust.bredbandsbolaget.se (HELO lazlar.kicks-ass.net) ([85.227.131.207]) by ipb2.telenor.se with ESMTP; 24 Nov 2009 22:29:45 +0100 Message-ID: <4B0C5048.6090402@lazlarlyricon.com> Date: Tue, 24 Nov 2009 22:29:44 +0100 From: Rolf G Nielsen User-Agent: Thunderbird 2.0.0.23 (X11/20091117) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20091124154514.GA91657@potato> <200911241725.42229.pieter@degoeje.nl> <20091124163718.GB91657@potato> <4B0C1249.1090600@lazlarlyricon.com> <20091124174025.GC91657@potato> <20091124210948.GC87829@slackbox.xs4all.nl> <20091124211851.GA79446@comcast.net> In-Reply-To: <20091124211851.GA79446@comcast.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: 7.2-STABLE to 8-R X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Nov 2009 21:29:47 -0000 Charlie Kester wrote: > On Tue 24 Nov 2009 at 13:09:48 PST Roland Smith wrote: >> On Tue, Nov 24, 2009 at 05:40:25PM +0000, John wrote: >>> >>> Regarding ports, I think I'll take the long route. This box is my main >>> machine, my desktop - and so there are a LOT of ports installed. It will >>> be easier to make portmanager rebuild everything in pristine mode. It >>> will take a long time, but I accept this. Before this is done, I run the >>> built-in routines in /usr/ports - clean out */work/* and distfiles. >> >> I would _strongly_ advise you to make a list of all your current >> ports, e.g. with >> 'portmaster -L >ports.list', deleting all ports and re-installing the >> ports >> labeled as 'leaf ports' and 'root ports' in ports.list. >> >> While portmaster/-manager do their best, they just cannot cover all >> the corner >> cases, especially since some ports require extra action (e.g. perl!) >> There is >> a good chance you'll end up with a big mess like binaries linked to >> both 7.x >> and 8.x libraries or ports failing to build for mysterious reasons. >> Both have >> happened to me in the past and are a major PITA to fix. >> >> I've done the complete delete/reinstall run a couple of times now on my >> desktop with ???490 ports installed. > > Can someone remind me once again, when rebuilding all of my ports, what > is the trick for avoiding the options dialogs? I'd like to have this > run largely unattended. I seem to recall someone describing a method to > go through all of them upfront, rather than having the build process > interrupted each time a port wants that input. > > I know that portupgrade has a batch build option, but unless I'm > mistaken, that skips any ports that need interaction to build. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > > With portupgrade give -C to run make "make config" or -c to run "make config-conditional" for all tasks before everything else. To skip the config dialogs altogether, specify -DBATCH on the make commandline (-m "-DBATCH" or -M "-DBATCH" to portupgrade to append or prepend the -DBATCH to the make commandline). Cheers, Rolf Nielsen