From owner-freebsd-ports@FreeBSD.ORG Tue Jul 19 18:56:31 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A0E8A1065676; Tue, 19 Jul 2011 18:56:31 +0000 (UTC) (envelope-from stephen@missouri.edu) Received: from wilberforce.math.missouri.edu (wilberforce.math.missouri.edu [128.206.184.213]) by mx1.freebsd.org (Postfix) with ESMTP id 68D7B8FC12; Tue, 19 Jul 2011 18:56:31 +0000 (UTC) Received: from [127.0.0.1] (wilberforce.math.missouri.edu [128.206.184.213]) by wilberforce.math.missouri.edu (8.14.4/8.14.4) with ESMTP id p6JIuSlI061902; Tue, 19 Jul 2011 13:56:28 -0500 (CDT) (envelope-from stephen@missouri.edu) Message-ID: <4E25D35C.3030303@missouri.edu> Date: Tue, 19 Jul 2011 13:56:28 -0500 From: Stephen Montgomery-Smith User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.18) Gecko/20110617 Thunderbird/3.1.11 MIME-Version: 1.0 To: Dieter BSD References: <20110719184133.185870@gmx.com> In-Reply-To: <20110719184133.185870@gmx.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd@sopwith.solgatos.com" , "freebsd@fokker.solgatos.com" , FreeBSD Ports , "bug-followup@freebsd.org" Subject: Re: ports/158179: some packages do not fully honor -P dir option in pkg_add(1) 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 2011 18:56:31 -0000 On 07/19/2011 01:41 PM, Dieter BSD wrote: >> 1. Spell out very clearly its purpose - is it to populate a jail, for >> example? > > Populating a chroot/jail is one purpose. > > Another is to test a new version of a package without messing up the > existing version. I don't see how these two goals are compatible. Any programs installed for the purpose of a chroot/jail will have to point to $PREFIX, whereas any programs installed for the purpose of testing it elsewhere will either have to point to $PREFIX (if the stuff it is pointing to was not installed by the current package and the "-p" option was invoked), or to $PKG_PREFIX (if the stuff it is pointing to was installed by the current package or the "-P" option was invoked).