Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Mar 2013 16:57:12 +0000
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        Jason Helfman <jgh@FreeBSD.org>
Cc:        "svn-ports-head@freebsd.org" <svn-ports-head@freebsd.org>, "svn-ports-all@freebsd.org" <svn-ports-all@freebsd.org>, Beech Rintoul <beech@freebsd.org>, "ports-committers@freebsd.org" <ports-committers@freebsd.org>
Subject:   Re: svn commit: r314117 - head/games/kye
Message-ID:  <20130314165712.GA8275@FreeBSD.org>
In-Reply-To: <CAMuy=%2BhkQ%2BqieiwX97%2BC9jfAkGVOzrAwvh0cTeQ1Z1dYU0Scag@mail.gmail.com>
References:  <201303132159.r2DLx1QL092713@svn.freebsd.org> <20130314070455.GA42406@hatter> <20130314075330.GA94901@FreeBSD.org> <201303132359.22984.beech@freebsd.org> <20130314081701.GA6014@FreeBSD.org> <CAMuy=%2BhkQ%2BqieiwX97%2BC9jfAkGVOzrAwvh0cTeQ1Z1dYU0Scag@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Mar 14, 2013 at 08:30:06AM -0700, Jason Helfman wrote:
> PORTDOCS make variable assignment is different then a PLIST_SUB. It also
> depends how it is used in the Makefile. In this instance, they are both
> used correctly.

PORTDOCS were introduced precisely to be able to off-load pkg-plist for
simple cases, like this one.  I really do not understand what point are
you trying to make here Jason, sorry.  For me it looks that ${TMPPLIST}
will now contain two copies of the docs, which upsets package deinstall.

If you still believe you're being right here, can you please explain:

- Why there are two instances of docs in .PLIST.mktmp, per simple grep?
- Why would anyone what to record docs twice (in PORTDOCS and pkg-plist)?
- Why do I see this:

$ make deinstall
===>  Switching to root credentials for 'deinstall' target
Password:
===>  Deinstalling for games/kye
===>   Deinstalling py27-kye-1.0_3
pkg_delete: file '/tmp/j/share/doc/kye/NEWS' doesn't exist
pkg_delete: file '/tmp/j/share/doc/kye/README' doesn't exist
pkg_delete: file '/tmp/j/share/doc/kye' doesn't exist
pkg_delete: unable to completely remove directory '/tmp/j/share/doc/kye'
pkg_delete: couldn't entirely delete package `py27-kye-1.0_3'
(perhaps the packing list is incorrectly specified?)
===>  Returning to user credentials

Do you still disagree that PORTDOCS lines should be removed from pkg-plist
in favor of PORTDOCS set in the Makefile?

./danfe



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