Date: Tue, 19 Jul 2005 12:35:26 -0500 From: Paul Schmehl <pauls@utdallas.edu> To: ports@freebsd.org Subject: Re: pkg-plist problems Message-ID: <B25562CB0DFBA490080B2529@utd59514.utdallas.edu> In-Reply-To: <1121793497.3319.3.camel@cream.xbsd.org> References: <EBCC58430C7721C861BB2875@utd59514.utdallas.edu> <1121793497.3319.3.camel@cream.xbsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--On Tuesday, July 19, 2005 19:18:17 +0200 Florent Thoumie <flz@xbsd.org>=20 wrote: > Le Lundi 18 juillet 2005 =E0 16:13 -0500, Paul Schmehl a =E9crit : >> I'm working on a new port, and I'm having a strange problem with >> pkg-plist. I created pkg-plist per the instructions in Chapter 19 of >> the Porters Handbook. When I run make deinstall >> PREFIX=3D/var/tmp/port-name, the deinstall complains that the files in >> $DOCSDIR don't exist. Yet they do. >> >> Here's the error I'm getting (in part): >> >> pkg_delete: file '/var/tmp/sguild/share/doc/sguil-sensor' doesn't really >> exist >> pkg_delete: unable to completely remove directory >> '/var/tmp/sguild/share/doc/sguil-sensor' >> pkg_delete: couldn't entirely delete package (perhaps the packing list = is >> incorrectly specified?) > > You should have posted the entire port, but reading that, I > guess you're using PORTDOCS in Makefile. PORTDOCS automatically > adds "@dirrm ${DOCSDIR:S,^${PREFIX}/,,}" to the packing list, so > the one you added in pkg-plist isn't necessary. > That's exactly what the problem was. I removed the lines from pkg-plist=20 and ran install and deinstall and checked for the docdir, and it was=20 installed and removed every time. Gracias mucho Paul Schmehl (pauls@utdallas.edu) Adjunct Information Security Officer University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu/ir/security/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B25562CB0DFBA490080B2529>