pkg-plist problems

Florent Thoumie flz at xbsd.org
Tue Jul 19 17:18:21 GMT 2005


Le Lundi 18 juillet 2005 à 16:13 -0500, Paul Schmehl a écrit :
> 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=/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.

-- 
Florent Thoumie
flz at xbsd.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20050719/a0e0d688/attachment.bin


More information about the freebsd-ports mailing list