ports/148910: [PATCH] devel/cego-xml: fix pkg-plist to exclude license files
Sahil Tandon
sahil at FreeBSD.org
Sat Jul 24 19:40:02 UTC 2010
>Number: 148910
>Category: ports
>Synopsis: [PATCH] devel/cego-xml: fix pkg-plist to exclude license files
>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: Sat Jul 24 19:40:02 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Sahil Tandon
>Release: FreeBSD 9.0-CURRENT i386
>Organization:
>Environment:
>Description:
The installation and removal of license-related files/dirs is handled by bsd.licenses.mk; the attached patch removes license files from pkg-plist to address the following error:
Deleting cego-xml-1.0.20
pkg_delete: file '/usr/local/share/licenses/cego-xml-1.0.20/GPLv2' doesn't exist
pkg_delete: file '/usr/local/share/licenses/cego-xml-1.0.20/LICENSE' doesn't exist
pkg_delete: file '/usr/local/share/licenses/cego-xml-1.0.20/catalog.mk' doesn't exist
pkg_delete: unable to completely remove directory '/usr/local/share/licenses'
pkg_delete: file '/usr/local/share/licenses/cego-xml-1.0.20' doesn't exist
pkg_delete: unable to completely remove directory '/usr/local/share/licenses/cego-xml-1.0.20'
pkg_delete: couldn't entirely delete package (perhaps the packing list is
incorrectly specified?)
>How-To-Repeat:
>Fix:
--- cego-xml.diff begins here ---
Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/devel/cego-xml/pkg-plist,v
retrieving revision 1.1
diff -u -r1.1 pkg-plist
--- pkg-plist 1 Jul 2010 05:48:51 -0000 1.1
+++ pkg-plist 24 Jul 2010 16:31:30 -0000
@@ -8,8 +8,3 @@
include/XMLSuite.h
lib/libXML.a
lib/libXML.so.1
-share/licenses/cego-xml-1.0.20/GPLv2
-share/licenses/cego-xml-1.0.20/LICENSE
-share/licenses/cego-xml-1.0.20/catalog.mk
- at dirrm share/licenses/cego-xml-1.0.20
- at dirrm share/licenses
--- cego-xml.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list