Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Sep 2011 10:11:36 -0500
From:      "Conrad J. Sabatier" <conrads@cox.net>
To:        Oliver Fromme <olli@lurza.secnetix.de>
Cc:        danfe@freebsd.org, freebsd-ports@freebsd.org, Luca Pizzamiglio <l.pizzamiglio@bally-wulff.de>
Subject:   Re: How to deal with conflict between graphics/libGL and  x11/nvidia-driver?
Message-ID:  <20110901101136.7ca784ec@cox.net>
In-Reply-To: <201109011445.p81EjeBj003730@lurza.secnetix.de>
References:  <20110822232210.11df7099@cox.net> <201109011445.p81EjeBj003730@lurza.secnetix.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 1 Sep 2011 16:45:41 +0200 (CEST)
Oliver Fromme <olli@lurza.secnetix.de> wrote:

> 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

Excellent idea!  Hadn't thought of that.

That also obviates the need for a new "AFFECTS" variable in ports that
was discussed recently by myself and a few others.

I'll Cc: this on to the nvidia-driver maintainer.

Thanks,

Conrad

-- 
Conrad J. Sabatier
conrads@cox.net



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