Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jan 2019 15:52:29 +0100
From:      Matthias Fechner <idefix@fechner.net>
To:        ports@freebsd.org
Subject:   Add conflicts to port
Message-ID:  <6810cf5f-b804-91ca-063d-1aad794b8a71@fechner.net>

next in thread | raw e-mail | index | archive | help
Dear all,

I just implement some changes in the gitlab-ce port which requires some
conflicts.
I tried to add:

CONFLICTS_INSTALL=      gitolite-* \
                gitolite2-* \
                gogs-* \
                ${PYTHON_PKGNAMEPREFIX}-gitosis-*

My test machine has gitolite and gitlab-ce installed.

If I know execute pkg upgrade it does not trigger the conflict.
I had expected that pkg forces now a deinstallation of gitolite before
it continues with upgrading gitlab-ce.
But it just installs gitlab-ce and ignores the conflict definition.

Is this a bug in pkg or is something with the definition of the conflict
not correct?

Thanks.

Gruß
Matthias

-- 

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6810cf5f-b804-91ca-063d-1aad794b8a71>