Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Mar 2005 09:25:26 +0000
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        Joerg Wunsch <joerg_wunsch@uriah.heep.sax.de>
Cc:        cvs-ports@freebsd.org
Subject:   Re: cvs commit: ports/print/acroread Makefile distinfo pkg-deinstall pkg-descr pkg-install pkg-plist ports/print/acroread/files patch-aa
Message-ID:  <20050317092526.GA60878@FreeBSD.org>
In-Reply-To: <20050317085119.GD3808@uriah.heep.sax.de>
References:  <200503161535.j2GFZGHa081152@repoman.freebsd.org> <20050316163958.GK88584@voodoo.oberon.net> <20050316224313.GB52092@uriah.heep.sax.de> <20050317064656.GA5247@pcwin002.win.tue.nl> <20050317083502.GA3808@uriah.heep.sax.de> <20050317084556.GA57636@FreeBSD.org> <20050317085119.GD3808@uriah.heep.sax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Mar 17, 2005 at 09:51:19AM +0100, Joerg Wunsch wrote:
> As Alexey Dokuchaev wrote:
> 
> > > How do you enable the dependency on a kernel feature ...?
> 
> > You can take a look at how I did it in x11/nvidia-driver port, for
> > instance.
> 
> Can you elaborate, please?  I fail to find any kernel feature test there.

I'm sorry, the logic I was referring to was present in rev. 1.16 of
nvidia-driver/Makefile, but was removed afterwards:

pre-install: 	 
	...

	-@(kldstat -n linux || kldload linux)
	...

So, it is not really a test, but it ensures that there's Linux compat
ABI present in kernel when you need it.

./danfe



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