Date: Sun, 21 Apr 2013 16:57:11 +0100 From: Matthew Seaman <matthew@FreeBSD.org> To: Matthias Petermann <matthias@d2ux.net> Cc: freebsd-questions@freebsd.org Subject: Re: Managing conflicts between ports (same package with multiple maintained versions) Message-ID: <51740C57.7010305@FreeBSD.org> In-Reply-To: <5173B04E.3020406@d2ux.net> References: <5173B04E.3020406@d2ux.net>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2NABGMJLFNDQBWMRMVJHF Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 21/04/2013 10:24, Matthias Petermann wrote: > root@compaq:/usr/ports/finance/trytond # portlint -AC > [...] > FATAL: Package conflicts with itself. You should remove "trytond-*" fro= m > CONFLICTS. > 1 fatal error and 4 warnings found. > root@compaq:/usr/ports/finance/trytond # >=20 > So it looks like I need to explicitly specify the conflicting versions,= > e.g. in Tryton 2.4 Makefile put: >=20 > CONFLICTS=3D trytond-2.6.* >=20 > But this will force me to update the 2.4 Ports everytime a new series o= f > Tryton gets introduced. The usual idiom would be to use a more complex globbing expression, perhaps like so: CONFLICTS=3D trytond-2.[012356789].* However clearly this won't account for all possible future versions. The thing you have to ask yourself is 'will the upstream be releasing new version series so frequently that I need to add code to all the tryton ports to account for it?' It may well be the case that updating the CONFLICTS setting in all the ports for the different streams whenerver a new stream is released really is the most effective solution.= Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey ------enig2NABGMJLFNDQBWMRMVJHF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlF0DF0ACgkQ8Mjk52CukIyn3wCeP6EK4JRJKuulscFomqsVdKeI sj0An1/fjxgS1w3UnHUdTVbreCsf1qmP =0Pe7 -----END PGP SIGNATURE----- ------enig2NABGMJLFNDQBWMRMVJHF--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51740C57.7010305>