CONFLICTS usage question

Thomas-Martin Seck tmseck-lists at netcologne.de
Fri Jun 18 20:30:30 GMT 2004


* Oliver Eikemeier (eikemeier at fillmore-labs.com):

> Thomas-Martin Seck wrote:

[port (deliberately) CONFLICTS with itself]

> >>No. You will break installation with FORCE_PKG_REGISTER=yes.
> >
> >What about "-DFORCE_PKG_REGISTER -DDISABLE_CONFLICTS"?
> 
> This disables the checks for already installed packages *and*
> for conflicting packages, which are disjoint sets. You can
> use this to repair files overwritten by a conflicting port
> (of course damaging the other port in the process).

Maybe, but one /can/ forcibly reinstall a self-conflicting port with
FORCE_PKG_REGISTER and DISABLE_CONFLICTS if one is determined to do so.

As an interesting side note: it is amazing how many ports install a
${PREFIX}/etc/leapsecs.dat. Where are CONFLICTS when you need them :(


More information about the freebsd-ports mailing list