Quote:
Originally Posted by kasse
ps. Interesting to note for me is that the entries in /var/db/ports are not removed when you run "make deinstall". What is the difference between "make deinstall" and "pkg_delete" when it comes to ports.
|
When in doubt, read the man page:
ports(7)
/var/db/pkg is the "installed packages database" that lists which ports/packages are installed, their files, their dependencies, etc.
/var/db/ports is the "port configuration database" that stores the selections you make in the OPTIONS screens when installing ports. You can view the selection by running
make showconfig in a port directory. And you can delete them with
make rmconfig. And you can change them using
make config. These are not deleted when you remove a port/package because then you would lose your settings when upgrading ports.