cvs commit: ports/print/acroread Makefile distinfo pkg-deinstall pkg-descr pkg-install pkg-plist ports/print/acroread/files patch-aa

Alexey Dokuchaev danfe at FreeBSD.org
Thu Mar 17 01:25:26 PST 2005


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


More information about the cvs-all mailing list