Managing conflicts between ports (same package with multiple maintained versions)
Matthew Seaman
matthew at FreeBSD.org
Sun Apr 21 15:57:30 UTC 2013
On 21/04/2013 10:24, Matthias Petermann wrote:
> root at compaq:/usr/ports/finance/trytond # portlint -AC
> [...]
> FATAL: Package conflicts with itself. You should remove "trytond-*" from
> CONFLICTS.
> 1 fatal error and 4 warnings found.
> root at compaq:/usr/ports/finance/trytond #
>
> So it looks like I need to explicitly specify the conflicting versions,
> e.g. in Tryton 2.4 Makefile put:
>
> CONFLICTS= trytond-2.6.*
>
> But this will force me to update the 2.4 Ports everytime a new series of
> Tryton gets introduced.
The usual idiom would be to use a more complex globbing expression,
perhaps like so:
CONFLICTS= 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
--
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 268 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20130421/46bc5de5/attachment.sig>
More information about the freebsd-questions
mailing list