Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Feb 2012 16:18:25 -0800
From:      Ade Lovett <ade@FreeBSD.org>
To:        freebsd-ports@freebsd.org
Subject:   Re: Fix nvidia-like ports, help needed
Message-ID:  <4F46D751.2090100@FreeBSD.org>
In-Reply-To: <20120223211406.GA14803@azathoth.lan>
References:  <20120222222544.GA88092@azathoth.lan> <20293.31720.350021.74506@gromit.timing.com> <20120223013502.GA78308@FreeBSD.org> <20120223072132.GB88092@azathoth.lan> <20120223093421.Horde.oN2FMZjmRSRPRfoNKQ4BA-g@webmail.leidinger.net> <d0ee88b5486535475f0c1c4bf5ecea55@etoilebsd.net> <20294.39398.620930.217619@gromit.timing.com> <20120223211406.GA14803@azathoth.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2/23/2012 13:14, Baptiste Daroussin wrote:
> Another solution could be to add an entry (and drop it in deinstallation to
> libmap.conf) when installing the nvidia driver, in that case installing it ad
> libGL-nvidia.so.1 and adding:
>
> libGL.so.1 libGL-nvidia.so.1
>
> or something like that.

Going that route is likely to be messy given the current monolithic 
/etc/libmap{,32}.conf

You'd most likely want ${LOCALBASE}/etc/libmap.conf.d/* (in a similar 
manner to etc/periodic, etc/rc.d and so on).  Whether the code that 
currently handles libmap.conf is itself extended to use this directory 
structure is open for discussion.  An alternate method could perhaps be 
a 'genlibmap' command which takes /etc/libmap.conf and this directory 
structure to create a /var/run/libmap.conf which is actually used by rtld.

Having potentially multiple ports dinking _directly_ with 
/etc/libmap.conf will result in considerable foot shooting.

-aDe



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