From owner-freebsd-x11@FreeBSD.ORG Sun Jan 3 22:49:42 2010 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A607106568B for ; Sun, 3 Jan 2010 22:49:42 +0000 (UTC) (envelope-from noackjr@alumni.rice.edu) Received: from smtp103.biz.mail.re2.yahoo.com (smtp103.biz.mail.re2.yahoo.com [68.142.229.217]) by mx1.freebsd.org (Postfix) with SMTP id B460D8FC14 for ; Sun, 3 Jan 2010 22:49:41 +0000 (UTC) Received: (qmail 45907 invoked from network); 3 Jan 2010 22:22:59 -0000 Received: from unknown (HELO optimator.noacks.org) (noackjr@75.145.250.173 with login) by smtp103.biz.mail.re2.yahoo.com with SMTP; 3 Jan 2010 22:22:59 -0000 X-Yahoo-SMTP: lf_ydH2swBBBfU4zSj6s29Gn1AqWpQIrFClaJdTnJv1EdZ8- X-YMail-OSG: hMNhJPUVM1moNV0WPvFzSURhZzn1Du5EWv8Ka341.Y5h.tS3FX8BpPz9pqN.._J.xZbQhHf2gn1ptj7jg_Q67BIIOUcKo57aGWKpweFv6bCRDSGKsIv4Q7_gsNzOD5e043XvHicNOmg794kdjdd9hNtD0TepgUJFg8joqpLb2RFoKOft4FR0wgvIEua.TFChMSlmUjcIS2cQ1ZXYdhE5pk74k5VQnzEpc95SByMfJzyQ15MZpkzjS3gAqXwUHvsgOGFBABmdyAs6JlyFsS6TvZ0m7BH.YYeS_L1XfDS2gtKBBALvHjK.Hb5rM73u51F4l8Q1tVVDOoOkiS_EN6HdJu1CoQR7e1jy_xwKQN5bk1x33U9VEniGzThDX5LFiY2s0RBg6iXAKzA7P97oo_Y6gxDUPtspAQrO5QHURkQ8ZtvgYdj7meb5NO2fjJQnkJykb16rQbjcHBLlRyTJyGQcXfc- X-Yahoo-Newman-Property: ymail-3 Received: from optimator.noacks.org (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id 0CB1E61E7; Sun, 3 Jan 2010 17:22:59 -0500 (EST) Received: from optimator.noacks.org ([127.0.0.1]) by optimator.noacks.org (optimator.noacks.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id F3R-lWNgeM1V; Sun, 3 Jan 2010 17:22:57 -0500 (EST) Received: from www.noacks.org (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id 953186184; Sun, 3 Jan 2010 17:22:57 -0500 (EST) Received: from 192.168.1.1 (SquirrelMail authenticated user noackjr) by www.noacks.org with HTTP; Sun, 3 Jan 2010 17:22:57 -0500 Message-ID: <593d57b701f7cc9b3b9f90235e42ae89.squirrel@www.noacks.org> In-Reply-To: <29760.1262129389@tristatelogic.com> References: <29760.1262129389@tristatelogic.com> Date: Sun, 3 Jan 2010 17:22:57 -0500 From: "Jonathan Noack" To: "Ronald F. Guilmette" User-Agent: SquirrelMail/1.4.20-RC2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-x11@freebsd.org Subject: Re: Default configuration for xorg-drivers (WTF?) X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: noackjr@alumni.rice.edu List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jan 2010 22:49:42 -0000 On Tue, December 29, 2009 18:29, Ronald F. Guilmette wrote: > Robert, > > Thanks for your quick response. > > In message <1262092734.2314.15.camel@balrog.2hip.net>, you wrote: >>> Call me dense, but hope somebody can explain to me how this makes >>> sense. >> >>run "make rmconfig && make config" in the xorg-drivers port. Your >>config is likely stale. > > Hummm... OK. I learned something today. > > So, ah, basically you're telling me that "portsnap fetch update" DOES NOT > flush out old/crusty/outdated port config files, yes? > > I confess, that I didn't know that. (I was under the naive impression > that "portsnap fetch update" made everything lovely, beautiful, and, most > importantly, current. I guess not. Oh well. Forewarned is forearmed. > Thanks for the info.) I always use the "-c" option with portinstall/portupgrade to run "make config-conditional". This checks all ports you're about to install/upgrade and re-runs "make config" when it comes across a stale config. I think this is a fairly rudimentary "are all current options defined in the saved config" check. Here's a comment from ports/Mk/bsd.port.mk: # scan saved options and invalidate them, if the set of options does not match In any case, my understanding is that re-running "make config" does the following before presenting you with the list of options via dialog(1): 1) Uses the saved value for pre-existing options already in your saved config. 2) Uses the default value for new options not previously in your saved config. 3) Removes obsolete options. However, this does NOT catch changes to the default value. It's a good idea to revisit and compare your saved configuration versus the default values every once in a while; I make this part of my FreeBSD release upgrade procedure. Note that if you're not using portinstall/portupgrade you can directly run "make config-recursive" which will run "make config-conditional" for the current port and for all of its dependencies. -Jon