Bug 39108 - removing perl5 port removes files installed by p5-* ports
removing perl5 port removes files installed by p5-* ports
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Any Any
: Normal Affects Only Me
Assigned To: Anton Berezin
Depends on:
  Show dependency treegraph
Reported: 2002-06-10 16:10 UTC by Dan Nelson (old address)
Modified: 2002-06-16 13:28 UTC (History)
0 users

See Also:

file.diff (498 bytes, patch)
2002-06-10 16:10 UTC, Dan Nelson (old address)
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Nelson (old address) 2002-06-10 16:10:03 UTC
The perl5 port pkg-plist has as its last two lines:

@unexec rm -rf %D/lib/perl5/%%PERL_VER%%
@unexec rm -rf %D/lib/perl5/site_perl/%%PERL_VER%%

This means that any files installed by the user or other ports in those
directories get removed when the perl5 port is removed.  Ports should
only remove files they themselves installed.  That's what the plist is

Install perl-5.6.1_4
Install any p5-* port
Pkg_upgrade to perl-5.6.1_5
Notice that the files insatlled by the p5-* port are now gone.
Comment 1 petef freebsd_committer 2002-06-10 16:26:17 UTC
Responsible Changed
From-To: freebsd-ports->tobez

Over to maintainer.
Comment 2 Anton Berezin freebsd_committer 2002-06-16 13:27:45 UTC
State Changed
From-To: open->closed