CONFLICTS usage question

Oliver Eikemeier eikemeier at fillmore-labs.com
Fri Jun 18 11:31:18 GMT 2004


Yar Tikhiy wrote:

> Is it all right if a wildcard pattern listed in CONFLICTS
> matches the port's package itself?

No. You will break installation with FORCE_PKG_REGISTER=yes.

> Here's why I'm asking:
> There is a port "mail/bogofilter" that has 2 child ports,
> "mail/bogofilter-qdbm" and "mail/bogofilter-tdb".  I'm about
> to add the 3rd child port for it, "russian/ru-bogofilter".
> Presently, the existing ports cross-list each other in CONFLICTS.
> It seems easier to have a single CONFLICTS setting, in the master
> port, that reads:
>
> CONFLICTS=	bogofilter-* [a-z][a-z]-bogofilter-*
>
> Will that be legal in our ports framework?

No, see above. Besides, you should use something like bogofilter-0.*,
otherwise you would CONFLICT with ports like bogofilter-doc, which
might coexist with the other ports.

-Oliver



More information about the freebsd-ports mailing list