Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Dec 2011 06:11:31 GMT
From:      "4720@hushmail.com" <4720@hushmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/163424: [patch] fix packing list for graphics/ImageMagick
Message-ID:  <201112180611.pBI6BVg1079434@red.freebsd.org>
Resent-Message-ID: <201112180620.pBI6K7bc049547@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         163424
>Category:       ports
>Synopsis:       [patch] fix packing list for graphics/ImageMagick
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 18 06:20:06 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     4720@hushmail.com
>Release:        
>Organization:
>Environment:
>Description:
warning to attempt to remove non-existing directory:

pkg_delete: file '/usr/local/share/doc/ImageMagick-6.7.3' doesn't exist
pkg_delete: unable to completely remove directory '/usr/local/share/doc/ImageMagick-6.7.3'
pkg_delete: couldn't entirely delete package (perhaps the packing list is
incorrectly specified?)

files listed as conditional under %%PORTDOCS%% are unconditionally installed, leading to leftovers when NOPORTDOCS used.

leftovers:
usr/local/share/doc/ImageMagick
usr/local/share/doc/ImageMagick/LICENSE
usr/local/share/doc/ImageMagick/ChangeLog
usr/local/share/doc/ImageMagick/NEWS.txt
>How-To-Repeat:

>Fix:
attached patch stops trying to remove non-existing directory and unconditionalizes some files.

Patch attached with submission follows:

Index: graphics/ImageMagick/pkg-plist
===================================================================
RCS file: /home/ncvs/ports/graphics/ImageMagick/pkg-plist,v
retrieving revision 1.141
diff -u -r1.141 pkg-plist
--- graphics/ImageMagick/pkg-plist	5 Nov 2011 14:44:12 -0000	1.141
+++ graphics/ImageMagick/pkg-plist	18 Dec 2011 06:04:25 -0000
@@ -410,9 +410,9 @@
 %%DATADIR%%-%%PORTVERSION%%/english.xml
 %%DATADIR%%-%%PORTVERSION%%/francais.xml
 %%DATADIR%%-%%PORTVERSION%%/locale.xml
-%%PORTDOCS%%%%DOCSDIR%%/LICENSE
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
-%%PORTDOCS%%%%DOCSDIR%%/NEWS.txt
+%%DOCSDIR%%/LICENSE
+%%DOCSDIR%%/ChangeLog
+%%DOCSDIR%%/NEWS.txt
 %%PORTDOCS%%%%DOCSDIR%%/images/affine.png
 %%PORTDOCS%%%%DOCSDIR%%/images/arc.png
 %%PORTDOCS%%%%DOCSDIR%%/images/background.jpg
@@ -1419,7 +1419,7 @@
 %%PORTDOCS%%@dirrm %%DOCSDIR%%/images/patterns
 %%PORTDOCS%%@dirrm %%DOCSDIR%%/images
 %%PORTDOCS%%@dirrm %%DOCSDIR%%
-@dirrm %%DOCSDIR%%-%%PORTVERSION%%
+@dirrm %%DOCSDIR%%
 @dirrm %%DATADIR%%-%%PORTVERSION%%
 %%WITH_PERL%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Image/Magick
 %%WITH_PERL%%@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Image


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201112180611.pBI6BVg1079434>