pkg vs. port tree install

Polytropon freebsd at
Fri Jul 10 21:02:31 UTC 2015

On Fri, 10 Jul 2015 22:42:27 +0200, Lev wrote:
> Just curious... why the git package doesn't install git-gui and gitk?

Because the port maintainer who sets the default options
decided that this is not a good idea. :-)

In many cases, users seem to prefer the command-line git.
When you add git-gui and gitk, both compile-time and
run-time dependencies will increase. X will be required,
along with many many libraries (due to the many involved
levels of abstraction and dependendy). So the package is
a "functional minimum", not a "possible maximum". Users
who wish to extend the functionality can easily do so
by building from source.

However, pkg will probably soon find a way to deal with
this: "package flavors", where you can chose a precompiled
binary package depending on options. This is interesting.
If you have n options, you'd need 2^n packages... :-)

Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

More information about the freebsd-questions mailing list