From owner-cvs-ports@FreeBSD.ORG Thu Mar 17 08:45:56 2005 Return-Path: Delivered-To: cvs-ports@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1033) id A80A416A4CF; Thu, 17 Mar 2005 08:45:56 +0000 (GMT) Date: Thu, 17 Mar 2005 08:45:56 +0000 From: Alexey Dokuchaev To: Joerg Wunsch Message-ID: <20050317084556.GA57636@FreeBSD.org> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20050317083502.GA3808@uriah.heep.sax.de> User-Agent: Mutt/1.4.2.1i cc: Stijn Hoop cc: trevor@freebsd.org cc: cvs-all@freebsd.org cc: ports-committers@freebsd.org cc: Kirill Ponomarew 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 X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Mar 2005 08:45:56 -0000 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