proper way to handle ports dependencies ?

Pav Lucistnik pav at FreeBSD.org
Fri Feb 2 19:12:40 UTC 2007


Luigi Rizzo píše 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
to the users to put it everywhere, so the process bails out earlier.

-- 
Pav Lucistnik <pav at oook.cz>
              <pav at FreeBSD.org>

Do not meddle in the affairs of Wizards, for they are subtle and
quick to anger.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: Toto je =?UTF-8?Q?digit=C3=A1ln=C4=9B?=
	=?ISO-8859-1?Q?_podepsan=E1?= =?UTF-8?Q?_=C4=8D=C3=A1st?=
	=?ISO-8859-1?Q?_zpr=E1vy?=
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20070202/bc17cf4f/attachment.pgp


More information about the freebsd-ports mailing list