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 00:45:56 PST 2005


On Thu, Mar 17, 2005 at 09:35:02AM +0100, Joerg Wunsch wrote:
> As Stijn Hoop wrote:
> 
> > > Do you have the linuxulator enabled?  It probably doesn't install
> > > without it, but if you don't have it, there would be no point in
> > > installing it anyway.
> 
> > So... Why not add a dependency on it?
> 
> How do you enable the dependency on a kernel feature (which could be a
> loaded kld or compiled into the kernel itself)?  I ended up with doing
> the same check /etc/rc.d/abi is performing in order to see whether the
> feature is present or not.

You can take a look at how I did it in x11/nvidia-driver port, for instance.

./danfe


More information about the cvs-ports mailing list