Bug 46795 - maintainer update port: database/db4, fix package deinstall bug
Summary: maintainer update port: database/db4, fix package deinstall bug
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports mailing list
Depends on:
Reported: 2003-01-06 10:50 UTC by matthias.andree
Modified: 2003-01-06 11:01 UTC (History)
0 users

See Also:

file.diff (1.07 KB, patch)
2003-01-06 10:50 UTC, matthias.andree
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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

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 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?