Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Apr 2016 12:48:28 +0930
From:      Shane Ambler <FreeBSD@ShaneWare.Biz>
To:        Vikash Badal <>, "" <>
Subject:   Re: building linux ports with x11/nvidia-driver-340 instead of x11/nvidia-driver
Message-ID:  <5709C604.8050505@ShaneWare.Biz>
In-Reply-To: <>
References:  <> <20160407193035.123cc810@max-BSD> <> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On 08/04/2016 16:39, Vikash Badal wrote:
> On 07/04/2016 20:21, RW via freebsd-questions wrote:
>> On Thu, 7 Apr 2016 19:30:35 +0200
>> maxnix wrote:
>> This makes it depend on  x11/nvidia-driver, when the question as about
>> making it depend on the  x11/nvidia-driver-340 legacy driver port.
>> As far as the port dependency installation is concerned it shouldn't
>> make any difference
>> so if x11/nvidia-driver-340 has already installed then it
>> wont try to install x11/nvidia-driver to satisfy the dependency.
>> This used to work with pkg-tools, I'm not sure what happens with
>> pkg. It'll probably complain, but it's worth a try.
> Sorry I forgot to mention that I'm building via poudriere

x11/nvidia-driver is the master port that contains all the build info
for installing all nvidia drivers. When you build from
nvidia-driver-340 it sets two variables and then uses the master
Makefile to do all the work. You can work with this to make
nvidia-driver install the version you want.

Add the following to the make.conf for your poudriere build - see man
poudriere under customisation for info on make.conf file names. You can
also add it to /etc/make.conf for manual port builds.

.if ${.CURDIR:M*/x11/nvidia-driver*}

FreeBSD - the place to B...Software Developing

Shane Ambler

Want to link to this message? Use this URL: <>