pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/58155 (CONFLICTS doesn't work with multi-version packages)
> Date: Tue, 16 Apr 2024 13:05:01 +0000 (UTC)
> From: Thomas Klausner <wiz%NetBSD.org@localhost>
>
> On Tue, Apr 16, 2024 at 12:53:51PM +0000, Taylor R Campbell wrote:
> > We may have a lot more cases of this to address -- I just picked meson
> > as an example:
>
> > $ git grep 'CONFLICTS.*[$]'
>
> I don't understand how you chose the regex.
Just an approximation to find packages that might have multi-version
conflicts. As you saw, there are some false alarms too.
> > audio/py-ao/Makefile:CONFLICTS= ${PYPKGPREFIX}-pyao-[0-9]*
> > [...]
> > x11/py-gtk2/Makefile:CONFLICTS= ${PYPKGPREFIX}-gtk<0.6.10
>
> These need manual expansion.
You mean something like this?
CONFLICTS= py[0-9]*-pyao-[0-9]*
CONFLICTS= py[0-9]*-gtk<0.6.10
SGTM, if that works.
Home |
Main Index |
Thread Index |
Old Index