Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jan 2022 10:46:44 +0100 (CET)
From:      Gerald Pfeifer <gerald@pfeifer.com>
To:        =?ISO-8859-15?Q?Stefan_E=DFer?= <se@FreeBSD.org>
Cc:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org,  dev-commits-ports-main@FreeBSD.org
Subject:   Re: git: bcaf25a8c804 - main - Fix CONFLICTS entries of multiple ports
Message-ID:  <aecbde9-303d-9bfe-1dfd-f8e67faa68b@pfeifer.com>
In-Reply-To: <202201101516.20AFGNau035475@gitrepo.freebsd.org>
References:  <202201101516.20AFGNau035475@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--8323328-1935303762-1641981611=:18644
Content-Type: text/plain; CHARSET=ISO-8859-15
Content-Transfer-Encoding: 8BIT

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
--8323328-1935303762-1641981611=:18644--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?aecbde9-303d-9bfe-1dfd-f8e67faa68b>