From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Mar 18 09:40:03 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1BCDB1065670 for ; Thu, 18 Mar 2010 09:40:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E839A8FC17 for ; Thu, 18 Mar 2010 09:40:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o2I9e2wA063953 for ; Thu, 18 Mar 2010 09:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o2I9e2RO063952; Thu, 18 Mar 2010 09:40:02 GMT (envelope-from gnats) Resent-Date: Thu, 18 Mar 2010 09:40:02 GMT Resent-Message-Id: <201003180940.o2I9e2RO063952@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Sunpoet Po-Chuan Hsieh Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A0DEC1065672 for ; Thu, 18 Mar 2010 09:35:47 +0000 (UTC) (envelope-from sunpoet@sunpoet.net) Received: from mail-yw0-f185.google.com (mail-yw0-f185.google.com [209.85.211.185]) by mx1.freebsd.org (Postfix) with ESMTP id 6813B8FC1A for ; Thu, 18 Mar 2010 09:35:45 +0000 (UTC) Received: by ywh15 with SMTP id 15so863677ywh.28 for ; Thu, 18 Mar 2010 02:35:44 -0700 (PDT) Received: by 10.100.233.4 with SMTP id f4mr3626136anh.210.1268904944562; Thu, 18 Mar 2010 02:35:44 -0700 (PDT) Received: from sunpoet.net (sunpoet.net [220.133.12.240]) by mx.google.com with ESMTPS id 4sm916354yxd.16.2010.03.18.02.35.43 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 18 Mar 2010 02:35:43 -0700 (PDT) Received: by sunpoet.net (Postfix, from userid 1000) id 941902AEC5B8; Thu, 18 Mar 2010 17:34:49 +0800 (CST) Message-Id: <20100318093449.941902AEC5B8@sunpoet.net> Date: Thu, 18 Mar 2010 17:34:49 +0800 (CST) From: Sunpoet Po-Chuan Hsieh To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: bg1tpt@gmail.com Subject: ports/144850: [PATCH] databases/rrdtool: fix 'make deinstall' when NOPORTEXAMPLES is defined X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Mar 2010 09:40:03 -0000 >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: