From owner-freebsd-ports@FreeBSD.ORG Thu Sep 1 14:46:04 2011 Return-Path: Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9FB21106566C for ; Thu, 1 Sep 2011 14:46:04 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id 21A498FC12 for ; Thu, 1 Sep 2011 14:46:03 +0000 (UTC) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.3/8.14.3) with ESMTP id p81Ejf8a003731; Thu, 1 Sep 2011 16:45:58 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.3/8.14.3/Submit) id p81EjeBj003730; Thu, 1 Sep 2011 16:45:41 +0200 (CEST) (envelope-from olli) Date: Thu, 1 Sep 2011 16:45:41 +0200 (CEST) Message-Id: <201109011445.p81EjeBj003730@lurza.secnetix.de> From: Oliver Fromme To: freebsd-ports@FreeBSD.ORG, conrads@cox.net In-Reply-To: <20110822232210.11df7099@cox.net> X-Newsgroups: list.freebsd-ports User-Agent: tin/1.9.6-20101126 ("Burnside") (UNIX) (FreeBSD/6.4-PRERELEASE-20080904 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.5 (lurza.secnetix.de [127.0.0.1]); Thu, 01 Sep 2011 16:45:59 +0200 (CEST) Cc: Subject: Re: How to deal with conflict between graphics/libGL and x11/nvidia-driver? 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: Thu, 01 Sep 2011 14:46:04 -0000 Conrad J. Sabatier wrote: > Does anyone have any suggestions on how to deal with the conflict > between the ports libGL and nvidia-driver? > > Both install their own version of /usr/local/lib/libGL.so.1. Obviously, > if you're using the nvidia driver, you need nvidia's version and not > libGL's version, but many other ports also depend on libGL. > > I'm not quite sure how to deal with this so that any portupgrades, etc. > won't keep trampling over my nvidia GL libraries. I was going to use > an ALT_PKGDEP for portupgrade, but the problem is that libGL also > installs some include files that nvidia-driver does not, so that's not > a sufficient solution. Maybe it would be helpful to add libGL as a dependency to the nvidia-driver port. That means, when the libGL port is updated, the nvidia-driver port will be rebuilt, too, because it depends on the libGL port, which means that the nvidia-driver's library will always override the one installed by the libGL port. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd Perl is worse than Python because people wanted it worse. -- Larry Wall