From owner-freebsd-ports@FreeBSD.ORG Tue Jul 19 17:18:21 2005 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 95DD316A41F for ; Tue, 19 Jul 2005 17:18:21 +0000 (GMT) (envelope-from flz@xbsd.org) Received: from smtp.xbsd.org (xbsd.org [82.233.2.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA89F43D55 for ; Tue, 19 Jul 2005 17:18:20 +0000 (GMT) (envelope-from flz@xbsd.org) Received: from localhost (localhost.xbsd.org [127.0.0.1]) by smtp.xbsd.org (Postfix) with ESMTP id BA47911BAF; Tue, 19 Jul 2005 19:20:44 +0200 (CEST) Received: from smtp.xbsd.org ([127.0.0.1]) by localhost (srv1.xbsd.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 62296-01; Tue, 19 Jul 2005 19:20:36 +0200 (CEST) Received: from cream.xbsd.org (cream.xbsd.org [192.168.42.6]) by smtp.xbsd.org (Postfix) with ESMTP id 3206A11478; Tue, 19 Jul 2005 19:20:36 +0200 (CEST) From: Florent Thoumie To: Paul Schmehl In-Reply-To: References: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-tFXlipixNSZEA7YkXwm4" Date: Tue, 19 Jul 2005 19:18:17 +0200 Message-Id: <1121793497.3319.3.camel@cream.xbsd.org> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 FreeBSD GNOME Team Port X-Virus-Scanned: amavisd-new at xbsd.org Cc: ports@freebsd.org Subject: Re: pkg-plist problems X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jul 2005 17:18:21 -0000 --=-tFXlipixNSZEA7YkXwm4 Content-Type: text/plain; charset=iso8859-15 Content-Transfer-Encoding: quoted-printable 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-plis= t.=20 > I created pkg-plist per the instructions in Chapter 19 of the Porters=20 > Handbook. When I run make deinstall PREFIX=3D/var/tmp/port-name, the=20 > deinstall complains that the files in $DOCSDIR don't exist. Yet they do. >=20 > Here's the error I'm getting (in part): >=20 > pkg_delete: file '/var/tmp/sguild/share/doc/sguil-sensor' doesn't really=20 > exist > pkg_delete: unable to completely remove directory=20 > '/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=20 guess you're using PORTDOCS in Makefile. PORTDOCS automatically=20 adds "@dirrm ${DOCSDIR:S,^${PREFIX}/,,}" to the packing list, so the one you added in pkg-plist isn't necessary. --=20 Florent Thoumie flz@xbsd.org --=-tFXlipixNSZEA7YkXwm4 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQBC3TXZMxEkbVFH3PQRAig4AJ0U4LWAyqJo2m6nbk7tjap3bqoDYgCgjhsM 97ovfxZJShxZ1zMwbMgECl8= =VKEp -----END PGP SIGNATURE----- --=-tFXlipixNSZEA7YkXwm4--