Re: git: bcaf25a8c804 - main - Fix CONFLICTS entries of multiple ports

From: Gerald Pfeifer <gerald_at_pfeifer.com>
Date: Fri, 14 Jan 2022 09:46:44 UTC
On Mon, 10 Jan 2022, =?utf-8?Q?Stefan E=C3=9Fer?= wrote:
> commit bcaf25a8c8046b094f6b5ab5bc258333bc326ee1
> Author:     Stefan Eßer <se@FreeBSD.org>
> AuthorDate: 2022-01-10 14:20:12 +0000
> Commit:     Stefan Eßer <se@FreeBSD.org>
> CommitDate: 2022-01-10 15:15:39 +0000
> 
>     Fix CONFLICTS entries of multiple ports
>     
>     There have been lots of missing CONFLICTS_INSTALL entries, either
>     because conflicting ports were added without updating existing ports,
>     due to name changes of generated packages, due to mis-understanding
>     the format and semantics of the conflicts entries, or just due to
>     typoes in package names.
>     
>     This patch is the result of a comparison of all files contained in
>     the official packages with each other. This comparison was based on
>     packages built with default options and may therefore have missed
>     further conflicts with optionally installed files.

Awesome! Thank you, both in general and for simplifying some of my
ports.

>     Where possible, version numbers in conflicts entries have been
>     generalized, some times taking advantage of the fact that a port
>     cannot conflict with itself (due to logic in bsd.port.mk that
>     supresses the pattern match result in that case).

Indeed, the "a port cannot conflict with itself" part is one I did
fail to understand in the past, unless you and me chatted a bit. ;-)

I believe it would be helpful if
  https://docs.freebsd.org/en/books/porters-handbook/book/#conflicts
had an explicit note that a package does not conflict with itself.

Gerald