Currently, the gui subcommand for git is an option in the port. This means that it is impossible for users to install it from packages. It should be split into a separate slave port.
Any progress on this? It is a serious limitation for people trying to do dev work and use FreeBSD with binary packages.
I didn't find the time to write the new slave port yet. I believe I can do it during the weekend. If someone can submit a patch it would speed up things :)
A commit references this bug:
Date: Mon Sep 28 18:33:49 UTC 2015
New revision: 398132
- Add devel/git-gui, a devel/git slave port with GUI option enabled
- Register conflicts with master and other slave ports
- Bump PORTREVISION
It is now impossible to install git gui and git svn on the same machine due to the conflict. The slave ports should install *only* the files required for the option, not duplicate the versions in the master port.
Then what you are requesting is a subpackage. Are we already doing it on ports tree? I will look for some example
(In reply to David Chisnall from comment #4)
Did you see another case like this available on ports tree? I was thinking about that and ended up with a case without any possible solution.
What happens if you install git using ports with GUI option set, and then install git-gui sub package? I don't believe we are ready to produce subpackages at this point.
I don't know of an example in the ports tree, but my understanding of these additions is that the base git distribution remains the same - if you build git with the options then compare the installed files then you should only have different sets of installed files. It should be possible to simply omit the files provided by git from the git-subversion and git-gui ports.
I'm adding bapt to the cc list in the hope that he can provide more advice.
Is this still relevant? Or could it be closed.