ports/144850: [PATCH] databases/rrdtool: fix 'make deinstall' when NOPORTEXAMPLES is defined

Sunpoet Po-Chuan Hsieh sunpoet at sunpoet.net
Thu Mar 18 09:40:03 UTC 2010


>Number:         144850
>Category:       ports
>Synopsis:       [PATCH] databases/rrdtool: fix 'make deinstall' when NOPORTEXAMPLES is defined
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 18 09:40:02 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Sunpoet Po-Chuan Hsieh
>Release:        FreeBSD 8.0-STABLE amd64
>Organization:
SUNPOET.net
>Environment:
System: FreeBSD bonjour.sunpoet.net 8.0-STABLE FreeBSD 8.0-STABLE #0: Fri Feb 12 20:20:34 CST 2010
>Description:
- Fix 'make deinstall' when NOPORTEXAMPLES is defined

Port maintainer (bg1tpt at gmail.com) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
% cd /usr/ports/databases/rrdtool
% make NOPORTEXAMPLES=yes install
...
% make NOPORTEXAMPLES=yes deinstall
===>  Deinstalling for databases/rrdtool
===>   Deinstalling rrdtool-1.4.2
pkg_delete: file '/usr/local/share/rrdtool/examples/rrdcached' doesn't exist
pkg_delete: unable to completely remove directory '/usr/local/share/rrdtool/examples/rrdcached'
pkg_delete: file '/usr/local/share/rrdtool/examples' doesn't exist
pkg_delete: unable to completely remove directory '/usr/local/share/rrdtool/examples'
pkg_delete: file '/usr/local/share/rrdtool' doesn't exist
pkg_delete: unable to completely remove directory '/usr/local/share/rrdtool'
pkg_delete: couldn't entirely delete package (perhaps the packing list is incorrectly specified?)

>Fix:

--- rrdtool-1.4.2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/databases/rrdtool/pkg-plist /usr/ports/sunpoet/rrdtool/pkg-plist
--- /usr/ports/databases/rrdtool/pkg-plist	2010-03-08 13:21:16.000000000 +0800
+++ /usr/ports/sunpoet/rrdtool/pkg-plist	2010-03-18 16:44:26.000000000 +0800
@@ -26,6 +26,6 @@
 %%WITH_PERL%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/RRDs
 %%PORTEXAMPLES%%share/rrdtool/examples/rrdcached/RRDCached.pm
 %%PORTEXAMPLES%%share/rrdtool/examples/rrdcached/rrdcached-size.pl
- at dirrm share/rrdtool/examples/rrdcached
- at dirrm share/rrdtool/examples
- at dirrm share/rrdtool
+%%PORTEXAMPLES%%@dirrm share/rrdtool/examples/rrdcached
+%%PORTEXAMPLES%%@dirrm share/rrdtool/examples
+%%PORTEXAMPLES%%@dirrm share/rrdtool
--- rrdtool-1.4.2.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list