Bug 46795

Summary: maintainer update port: database/db4, fix package deinstall bug
Product: Ports & Packages Reporter: matthias.andree <matthias.andree>
Component: Individual Port(s)Assignee: freebsd-ports (Nobody) <ports>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description matthias.andree 2003-01-06 10:50:02 UTC
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
Comment 1 Oliver Braun freebsd_committer freebsd_triage 2003-01-06 10:58:58 UTC
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?