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)



The following reply was made to PR pkg/58155; it has been noted by GNATS.

From: Thomas Klausner <wiz%NetBSD.org@localhost>
To: Taylor R Campbell <riastradh%NetBSD.org@localhost>
Cc: gnats-bugs%NetBSD.org@localhost
Subject: Re: pkg/58155 (CONFLICTS doesn't work with multi-version packages)
Date: Wed, 17 Apr 2024 12:40:07 +0200

 On Tue, Apr 16, 2024 at 01:53:00PM +0000, Taylor R Campbell wrote:
 > > 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.
 
 Yes, these work (tested locally) and I've fixed the ones that needed it.
  Thomas
 


Home | Main Index | Thread Index | Old Index