Date: Thu, 18 Mar 2010 17:34:49 +0800 (CST) From: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: bg1tpt@gmail.com Subject: ports/144850: [PATCH] databases/rrdtool: fix 'make deinstall' when NOPORTEXAMPLES is defined Message-ID: <20100318093449.941902AEC5B8@sunpoet.net> Resent-Message-ID: <201003180940.o2I9e2RO063952@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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 -@dirrm share/rrdtool/examples/rrdcached -@dirrm share/rrdtool/examples -@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100318093449.941902AEC5B8>