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: Taylor R Campbell <riastradh%NetBSD.org@localhost>
To: Thomas Klausner <wiz%NetBSD.org@localhost>
Cc: gnats-bugs%NetBSD.org@localhost, pkg-manager%NetBSD.org@localhost, gnats-admin%NetBSD.org@localhost,
	pkgsrc-bugs%NetBSD.org@localhost
Subject: Re: pkg/58155 (CONFLICTS doesn't work with multi-version packages)
Date: Tue, 16 Apr 2024 13:53:00 +0000

 > 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