Add conflicts to port

Mathieu Arnold mat at FreeBSD.org
Wed Jan 9 12:27:40 UTC 2019


On Tue, Jan 08, 2019 at 11:48:42PM +0100, Matthias Fechner wrote:
> Hi Franco,
> 
> Am 08.01.2019 um 15:58 schrieb Franco Fichtner:
> > Explicit CONFLICTS only exist within the ports tree
> > during builds.
> >
> > pkg detects conflicts simply when files are attempted
> > to be installed in the same place -- i.e. a file already
> > belongs to another installed package.
> 
> hm, this will not help, as the conflicting file is created at runtime
> and not by the installation of the package and can therefor not be
> detected by pkg.
> 
> I do not understand why the CONFLICTS_INSTALL does exist:
> http://www.si.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/conflicts.html
> 
> if it does not work.
> Maybe a bug or has the documentation to be updated?

CONFLICTS, CONFLICTS_BUILD and CONFLICTS_INSTALL exist to tell the user
building the port that the port they are trying to install cannot be
built-or-installed/build/installed while this other port is installed.

-- 
Mathieu Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20190109/71a0d04f/attachment.sig>


More information about the freebsd-ports mailing list