Date: Fri, 10 Jul 2015 22:22:19 +0200 From: Polytropon <freebsd@edvax.de> To: Lev <leventelist@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: pkg vs. port tree install Message-ID: <20150710222219.c285e959.freebsd@edvax.de> In-Reply-To: <20150710221129.639305cd@jive.levalinux.org> References: <20150710221129.639305cd@jive.levalinux.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 10 Jul 2015 22:11:29 +0200, Lev wrote: > I installed git from the ports tree, to get git gui and gitk. > > However, when I upgrade my binary packages, pkg wants to reinstall git > from the binary package, after doing it I lose gitk. > > git-2.4.5_1 (options changed) > > Is this the intentional? Yes. The binary packages that pkg will use for installing and updating are based on the _default_ compile time options set by the maintainer. If you chose to use different options and your package is "out of date", it will be updated with the current version, _missing_ your options. In order to avoid it, see "pkg lock" and "pkg unlock" to protect your ("custom") version of Git from being updated. To update it, update your /usr/ports tree and use the typical "make install" method (or for example portmaster, if you're using a port management tool). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150710222219.c285e959.freebsd>