The package built from the db port throws bogus messages that the directory ${PREFIX}/share/doc/db4/ref/splash could not be removed at uninstall time, then later that the port had not been completely removed. Cause is that the empty directory is installed by the port, but not by the package, so the @dirrm makes trouble. Fix: Apply this patch: How-To-Repeat: cd /usr/ports/databases/db4 make install make package make deinstall pkg_add /path/to/db4-4.0.14_1,1.tgz make deinstall # this causes the bogus messages
State Changed From-To: open->closed I have committed your patch, but wouldn't it be better to patch the Makefile and change the install-docs target to _not_ install the dir?