proper way to handle ports dependencies ?

Luigi Rizzo rizzo at icir.org
Fri Feb 2 18:52:20 UTC 2007


On Fri, Feb 02, 2007 at 07:45:28PM +0100, Pav Lucistnik wrote:
> Luigi Rizzo píse v pá 02. 02. 2007 v 09:27 -0800:
> > I have some ports (linux-gspca-kmod, linux-ov511-kmod, more in the
> > future) which depend on linux-kmod-devel which in turn only works
> > on i386 and 6.2 or above.
> > 
> > Is it enough to put ONLY_FOR_ARCHS and .if ${OSVERSION} < ...
> > just in the parent (linux-kmod-devel), or should i
> > put it in all children too ?
> 
> Technically it's enough to put it in the parent port, but it's a service

good, so when i add support for amd64 and others i have to fix
only one place.

> to the users to put it everywhere, so the process bails out earlier.

That should be quick enough not to worry about.
I was more concerned on not causing trouble on the
port building machines.

	thanks
	luigi


More information about the freebsd-ports mailing list