Add conflicts to port

Matthias Fechner idefix at fechner.net
Tue Jan 8 14:52:38 UTC 2019


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



More information about the freebsd-ports mailing list