Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Sep 2011 16:45:41 +0200 (CEST)
From:      Oliver Fromme <olli@lurza.secnetix.de>
To:        freebsd-ports@FreeBSD.ORG, conrads@cox.net
Subject:   Re: How to deal with conflict between graphics/libGL and x11/nvidia-driver?
Message-ID:  <201109011445.p81EjeBj003730@lurza.secnetix.de>
In-Reply-To: <20110822232210.11df7099@cox.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201109011445.p81EjeBj003730>