Overriding binary package with local build
heas at shrubbery.net
Mon Mar 9 10:08:04 UTC 2015
If one builds a package from ports in order to use different options, for
example building with postgres support instead of mysql, or builds a
specific version, but otherwise utilizes binary packages, how is this
indicated to 'pkg upgrade'?
For example. On this system I've built gld with postgres instead of mysql
and postfix with another option. The mysql dependency is coming from the
binary gld with the default options. And, in theory postfix has different
options, but also needs an update.
So, is it possible to tell pkg(8) about the different options/local built,
but still complain when a version update is necessary?
# pkg upgrade
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.
New packages to be INSTALLED:
Installed packages to be UPGRADED:
postgresql94-server: 9.4.0 -> 9.4.1
postgresql94-client: 9.4.0 -> 9.4.1_1
postfix: 2.11.3_4,1 -> 2.11.4,1
Installed packages to be REINSTALLED:
gld-1.8_2 (options changed)
More information about the freebsd-ports