Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jun 2004 13:30:34 +0200
From:      Oliver Eikemeier <eikemeier@fillmore-labs.com>
To:        Yar Tikhiy <yar@comp.chem.msu.su>
Cc:        ports@FreeBSD.org
Subject:   Re: CONFLICTS usage question
Message-ID:  <EA246302-C11A-11D8-9250-00039312D914@fillmore-labs.com>
In-Reply-To: <20040618111024.GA5660@comp.chem.msu.su>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EA246302-C11A-11D8-9250-00039312D914>