From owner-freebsd-current@FreeBSD.ORG Sun Jul 17 02:02:41 2011 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7D74F1065670; Sun, 17 Jul 2011 02:02:41 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0E38E8FC14; Sun, 17 Jul 2011 02:02:40 +0000 (UTC) Received: by gyf3 with SMTP id 3so1170001gyf.13 for ; Sat, 16 Jul 2011 19:02:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=SXA/cc5lNu08550RxoTMbiHvpikPuz8gqkLx04a46N8=; b=K7oL2wZmlB3nlKATvwbSprLQSB4Vw9rEb8LIrkqxWowr5zgL6JXLrNbkU4kpXRRnnp 6IpUsulY9mjOwb2bDH6qteCHSgRmfUiyDrTurnDW4XYhrVnf8/TST263dhKmjGhIrMCU pCLCYirtyYjSXtaFvUkOxwDK3Y14lFs1waDMI= MIME-Version: 1.0 Received: by 10.150.74.3 with SMTP id w3mr4529317yba.329.1310868158670; Sat, 16 Jul 2011 19:02:38 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.150.197.5 with HTTP; Sat, 16 Jul 2011 19:02:38 -0700 (PDT) In-Reply-To: References: <4E20FADE.6060103@missouri.edu> <4E21B051.5040502@missouri.edu> <4E21B6A0.6060908@missouri.edu> Date: Sun, 17 Jul 2011 10:02:38 +0800 X-Google-Sender-Auth: uMlc_Xe0tNdu-2ukcTZX1fuvvFg Message-ID: From: Adrian Chadd To: Chris Rees Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "freebsd@sopwith.solgatos.com" , Stephen Montgomery-Smith , "current@freebsd.org" , "bug-followup@freebsd.org" , Stefan Bethke Subject: Re: ports/158179: some packages do not fully honor -P dir option in pkg_add(1) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jul 2011 02:02:41 -0000 Unless say, you're doing package installation outside of a chroot/jail, to populate something inside a chroot/jail before you start said chroot/jail. Adrian On 17 July 2011 00:13, Chris Rees wrote: > On 16 Jul 2011 17:04, "Stephen Montgomery-Smith" > wrote: >> >> On 07/16/2011 10:53 AM, Chris Rees wrote: >>> >>> >>> On 16 Jul 2011 16:38, "Stephen Montgomery-Smith" >> > wrote: >>> =A0> For example, suppose the C source code contains something like: >>> =A0> char applications_dir =3D "/usr/local/share/applications"; >>> =A0> and this is filled in by the ./configure script. >>> =A0> >>> =A0> How is that handled? >>> =A0> >>> >>> It's not. >>> >>> Remember what a package is, literally the files from the plist tarred >>> with some magic +FILEs and the pkg-*install files- if paths are >>> hardcoded in objects that's how it'll be installed. >> >> >> What if some of the installation programs are binaries, and "/usr/local" > is hard coded into installation binaries or scripts provided by the softw= are > itself. > > Sorry, poor wording on my part. > > If it was compiled as prefix=3D/usr/local, that's how it'll be installed, > regardless of your -p argument. > > Chris > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org= " >