From owner-freebsd-x11@FreeBSD.ORG Sun Jul 3 00:47:39 2011 Return-Path: Delivered-To: x11@FreeBSD.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id 75E38106566C; Sun, 3 Jul 2011 00:47:39 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from 65-241-43-4.globalsuite.net (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 1703114F722; Sun, 3 Jul 2011 00:47:39 +0000 (UTC) Message-ID: <4E0FBC2A.9090809@FreeBSD.org> Date: Sat, 02 Jul 2011 17:47:38 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.18) Gecko/20110624 Thunderbird/3.1.11 MIME-Version: 1.0 To: Stephen Montgomery-Smith References: <4E0796A6.3040909@missouri.edu> <4E07A18B.2010205@FreeBSD.org> <4E0F90C6.5020704@missouri.edu> <4E0FB406.4040308@FreeBSD.org> <4E0FB86B.7020700@missouri.edu> In-Reply-To: <4E0FB86B.7020700@missouri.edu> X-Enigmail-Version: 1.1.2 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "danfe@FreeBSD.org" , "x11@FreeBSD.org" Subject: Re: x11/nvidia-driver incompatible with portmaster? X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jul 2011 00:47:39 -0000 On 07/02/2011 17:31, Stephen Montgomery-Smith wrote: > On 07/02/2011 07:12 PM, Doug Barton wrote: >> On 07/02/2011 14:42, Stephen Montgomery-Smith wrote: >>> Are x11-server/x11-server and x11/nvidia-driver together incompatible >>> with portmaster? >>> >>> If you install x11-server/xorg-server, and then install >>> x11/nvidia-driver, then "pkg_delete -f" and reinstall xorg-server, then >>> it seems to me that x11/nvidia-driver will be broken, because >>> xorg-server will overwrite lib/xorg/modules/extensions/libgl.*, and >>> nvidia-driver also writes these files. >>> >>> I know that x11/nvidia-driver restores the libgl.* files when it is >>> deinstalled. But it is portmaster's use of "pkg_delete -f" that concerns >>> me. >> >> This is a known problem, and has nothing to do with portmaster. If you >> deinstall nvidia-driver first it restores the xorg-server files to the >> prior state. If you do xorg-server first, doing the install of >> nvidia-driver with -DFORCE_PKG_REGISTER (without deinstalling first) >> should do the trick. >> >> >> hth, >> >> Doug >> > > Yes, I knew the solution. > > But I was really offering this as a reason to have some kind of > "NO_REINSTALL" flag, or something similar. Something that tells > portmaster that it shouldn't deinstall xorg-server without deinstalling > nvidia-driver first. It wouldn't be a NO_REINSTALL case (unless I'm missing something) but you're right that we don't have a way to represent "Don't deinstall this port if that port is installed." Doug -- Nothin' ever doesn't change, but nothin' changes much. -- OK Go Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/